cadical: fix darwin (#371275)
This commit is contained in:
@@ -58,9 +58,15 @@ stdenv.mkDerivation rec {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# fix static build
|
||||
postPatch = ''
|
||||
substituteInPlace makefile.in --replace-fail "ar rc" '$(AR) rc'
|
||||
'';
|
||||
postPatch =
|
||||
''
|
||||
substituteInPlace makefile.in --replace-fail "ar rc" '$(AR) rc'
|
||||
''
|
||||
# Racy/flaky tests that sometimes spontaneously combust on darwin.
|
||||
+ lib.optionalString (stdenv.hostPlatform.isDarwin && (lib.versionAtLeast version "2.1.1")) ''
|
||||
substituteInPlace test/api/run.sh --replace-fail 'run parcompwrite' ""
|
||||
substituteInPlace test/api/run.sh --replace-fail 'run example_tracer' ""
|
||||
'';
|
||||
|
||||
# the configure script is not generated by autotools and does not accept the
|
||||
# arguments that the default configurePhase passes like --prefix and --libdir
|
||||
|
||||
Reference in New Issue
Block a user