about summary refs log tree commit diff
path: root/scripts/nix-channel.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-02-01T12·41+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-02-01T12·41+0000
commit151f10dbc758a8bbc15bd941bd10bfdfe4c925a2 (patch)
treea3ebc782e7f53b67bf383883c85fd2df7f325918 /scripts/nix-channel.in
parent83424eb71b2c9656061b01617230e433a4b27d83 (diff)
* Add @bindir@.
Diffstat (limited to 'scripts/nix-channel.in')
-rw-r--r--scripts/nix-channel.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-channel.in b/scripts/nix-channel.in
index 42e715605d69..772fb10cfd3c 100644
--- a/scripts/nix-channel.in
+++ b/scripts/nix-channel.in
@@ -107,7 +107,7 @@ sub update {
     chomp $storeExpr;
 
     # Build the resulting derivation.
-    my $outPath = `nix-store --add-root '$rootFile' -r '$storeExpr'`
+    my $outPath = `@bindir@/nix-store --add-root '$rootFile' -r '$storeExpr'`
         or die "cannot realise store expression";
     chomp $outPath;