about summary refs log tree commit diff
path: root/scripts/nix-build.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/nix-build.in')
-rw-r--r--scripts/nix-build.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/nix-build.in b/scripts/nix-build.in
index 43d818274b33..a5d747686a7d 100644
--- a/scripts/nix-build.in
+++ b/scripts/nix-build.in
@@ -19,11 +19,11 @@ for i in "$@"; do
             extraArgs="$extraArgs $i"
             ;;
         *)
-            storeExprs=$(nix-instantiate "$i")
+            storeExprs=$(@bindir@/nix-instantiate "$i")
             for j in $storeExprs; do
                 echo "store expression is $j" >&2
             done
-            outPaths=$(nix-store -qnfv $extraArgs $storeExprs)
+            outPaths=$(@bindir@/nix-store -qnfv $extraArgs $storeExprs)
             for j in $outPaths; do
                 echo "$j"
                 if test -z "$noLink"; then