summary refs log tree commit diff
path: root/scripts/nix-build.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-01-14 13:50:00 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-01-14 13:50:00 +0000
commit9ee88bb2f2fed3bcf34eb5e5caadced2e77a85da (patch)
tree6d265d82388c61ff2fa2ad55ff080642445c2c33 /scripts/nix-build.in
parent63791eb05b236afcea510d769a8943f8be3dbc9c (diff)
downloadguix-9ee88bb2f2fed3bcf34eb5e5caadced2e77a85da.tar.gz
* Use absolute paths.
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 43d818274b..a5d747686a 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