about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libstore/globals.cc2
-rw-r--r--src/resolve-system-dependencies/local.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc
index 7bf48be378f8..ecf81e8eb38e 100644
--- a/src/libstore/globals.cc
+++ b/src/libstore/globals.cc
@@ -76,7 +76,7 @@ void Settings::processEnvironment()
 
     // should be set with the other config options, but depends on nixLibexecDir
 #ifdef __APPLE__
-    preBuildHook = nixLibexecDir + "/nix/resolve-system-dependencies.pl";
+    preBuildHook = nixLibexecDir + "/nix/resolve-system-dependencies";
 #endif
 }
 
diff --git a/src/resolve-system-dependencies/local.mk b/src/resolve-system-dependencies/local.mk
index 4e1379ae879b..abf4edaffd0a 100644
--- a/src/resolve-system-dependencies/local.mk
+++ b/src/resolve-system-dependencies/local.mk
@@ -2,6 +2,8 @@ programs += resolve-system-dependencies
 
 resolve-system-dependencies_DIR := $(d)
 
+resolve-system-dependencies_INSTALL_DIR := $(libexecdir)/nix
+
 resolve-system-dependencies_LIBS := libstore libmain libutil libformat
 
 resolve-system-dependencies_SOURCES := $(d)/resolve-system-dependencies.cc