File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -58,9 +58,15 @@ stdenv.mkDerivation rec {
5858 enableParallelBuilding = true ;
5959
6060 # fix static build
61- postPatch = ''
62- substituteInPlace makefile.in --replace-fail "ar rc" '$(AR) rc'
63- '' ;
61+ postPatch =
62+ ''
63+ substituteInPlace makefile.in --replace-fail "ar rc" '$(AR) rc'
64+ ''
65+ # Racy/flaky tests that sometimes spontaneously combust on darwin.
66+ + lib . optionalString ( stdenv . hostPlatform . isDarwin && ( lib . versionAtLeast version "2.1.1" ) ) ''
67+ substituteInPlace test/api/run.sh --replace-fail 'run parcompwrite' ""
68+ substituteInPlace test/api/run.sh --replace-fail 'run example_tracer' ""
69+ '' ;
6470
6571 # the configure script is not generated by autotools and does not accept the
6672 # arguments that the default configurePhase passes like --prefix and --libdir
You can’t perform that action at this time.
0 commit comments