From 4c9e3fa6412f736ce422f8deb0ba825999b66b0a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 9 Nov 2012 16:35:42 +0100 Subject: [PATCH] Remove a Darwin hack that should no longer be needed --- src/libstore/local-store.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index 138010f87..b69eec614 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -964,13 +964,6 @@ void LocalStore::startSubstituter(const Path & substituter, RunningSubstituter & case 0: /* child */ 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 with --option) to the substituter. */ setenv("_NIX_OPTIONS", settings.pack().c_str(), 1);