Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions pkgs/by-name/ed/edencommon/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,24 @@ stdenv.mkDerivation (finalAttrs: {

doCheck = true;

checkPhase = ''
runHook preCheck

# Skip flaky test on darwin
ctest -j $NIX_BUILD_CORES --output-on-failure ${
lib.optionalString stdenv.hostPlatform.isDarwin (
lib.escapeShellArgs [
"--exclude-regex"
(lib.concatMapStringsSep "|" (test: "^${lib.escapeRegex test}$") [
"ProcessInfoCache.addFromMultipleThreads"
])
]
)
}

runHook postCheck
'';

postPatch = ''
# The CMake build requires the FBThrift Python support even though
# it’s not used, presumably because of the relevant code having
Expand Down