singular: fix darwin build

This commit is contained in:
Weijia Wang 2025-03-28 16:13:47 +01:00
parent a762720c9e
commit 72db4374d2

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 .
'';