about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-11-09T15·35+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-11-09T15·35+0100
commit4c9e3fa6412f736ce422f8deb0ba825999b66b0a (patch)
tree5448d20917f81dd7efc76b54bc708b6706e3c431
parent182e15b66135a83d60d662a9e480831018572073 (diff)
Remove a Darwin hack that should no longer be needed
-rw-r--r--src/libstore/local-store.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index 138010f87d17..b69eec614aa4 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);