Remove a Darwin hack that should no longer be needed
This commit is contained in:
parent
182e15b661
commit
4c9e3fa641
|
@ -964,13 +964,6 @@ void LocalStore::startSubstituter(const Path & substituter, RunningSubstituter &
|
||||||
|
|
||||||
case 0: /* child */
|
case 0: /* child */
|
||||||
try {
|
try {
|
||||||
/* Hack to let "make check" succeed on Darwin. The
|
|
||||||
libtool wrapper script sets DYLD_LIBRARY_PATH to our
|
|
||||||
libutil (among others), but Perl also depends on a
|
|
||||||
library named libutil. As a result, substituters
|
|
||||||
written in Perl (i.e. all of them) fail. */
|
|
||||||
unsetenv("DYLD_LIBRARY_PATH");
|
|
||||||
|
|
||||||
/* Pass configuration options (including those overriden
|
/* Pass configuration options (including those overriden
|
||||||
with --option) to the substituter. */
|
with --option) to the substituter. */
|
||||||
setenv("_NIX_OPTIONS", settings.pack().c_str(), 1);
|
setenv("_NIX_OPTIONS", settings.pack().c_str(), 1);
|
||||||
|
|
Loading…
Reference in a new issue