···7273 doCheck = true;
7400000000000000000075 postPatch = ''
76 # The CMake build requires the FBThrift Python support even though
77 # it’s not used, presumably because of the relevant code having
···7273 doCheck = true;
7475+ checkPhase = ''
76+ runHook preCheck
77+78+ # Skip flaky test on darwin
79+ ctest -j $NIX_BUILD_CORES --output-on-failure ${
80+ lib.optionalString stdenv.hostPlatform.isDarwin (
81+ lib.escapeShellArgs [
82+ "--exclude-regex"
83+ (lib.concatMapStringsSep "|" (test: "^${lib.escapeRegex test}$") [
84+ "ProcessInfoCache.addFromMultipleThreads"
85+ ])
86+ ]
87+ )
88+ }
89+90+ runHook postCheck
91+ '';
92+93 postPatch = ''
94 # The CMake build requires the FBThrift Python support even though
95 # it’s not used, presumably because of the relevant code having