about summary refs log tree commit diff
path: root/scripts/nix-push.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-08-28T10·10+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-08-28T10·10+0000
commitc4f1f49574b4fe55bef7952bd0fcc2bd626b0db2 (patch)
tree9df5e55409a36163d5e5d39ac7fb9160cfb60053 /scripts/nix-push.in
parent31be53cd0a50ef9e3ddf64f79222e8e8dd1d05aa (diff)
* nix-push generated invalid (old-style) slices.
* nar.sh needs a path.

Diffstat (limited to 'scripts/nix-push.in')
-rw-r--r--scripts/nix-push.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-push.in b/scripts/nix-push.in
index bb5e6da134f4..e51f903b87fe 100644
--- a/scripts/nix-push.in
+++ b/scripts/nix-push.in
@@ -52,7 +52,7 @@ foreach my $id (@ARGV) {
         # Construct a Fix expression that creates a Nix archive.
         my $fixexpr = 
           "App(IncludeFix(\"nar/nar.fix\"), " .
-          "[ (\"path\", Slice([\"$pathid\"], [(\"$path\", \"$pathid\", [])]))" .
+          "[ (\"path\", Slice([\"$path\"], [(\"$path\", \"$pathid\", [])]))" .
           "])";
 	
 	print FIX "," unless ($first);