singular: fix darwin build (#394025)

This commit is contained in:
Mauricio Collares 2025-03-30 15:18:31 -03:00 committed by GitHub
commit 85af9bd36d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,7 +70,12 @@ stdenv.mkDerivation rec {
prePatch = ''
# don't let the tests depend on `hostname`
substituteInPlace Tst/regress.cmd --replace 'mysystem_catch("hostname")' 'nix_test_runner'
substituteInPlace Tst/regress.cmd \
--replace-fail 'mysystem_catch("hostname")' 'nix_test_runner'
# ld: file not found: @rpath/libquadmath.0.dylib
substituteInPlace m4/p-procs.m4 \
--replace-fail "-flat_namespace" ""
patchShebangs .
'';