aboutsummaryrefslogtreecommitdiff
path: root/scripts/nix-pull.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-12-21 21:56:54 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-12-21 21:56:54 +0000
commit397c8ba898a522512ea56a3d2ae78dedda01bd77 (patch)
treed9d27da35b1d31ae4f2f7a93a4d2ac08a9157e18 /scripts/nix-pull.in
parent528f1d1867de8b653eed516f8448096d7d138978 (diff)
* Missing semicolons.
Diffstat (limited to 'scripts/nix-pull.in')
-rw-r--r--scripts/nix-pull.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/nix-pull.in b/scripts/nix-pull.in
index 040ee54c9..f0d5d95f2 100644
--- a/scripts/nix-pull.in
+++ b/scripts/nix-pull.in
@@ -52,10 +52,10 @@ foreach my $storepath (keys %storepaths2urls) {
my $hash = $urls2hashes{$url};
my $fetch =
"(import @datadir@/nix/corepkgs/fetchurl) " .
- "{url = $url; md5 = \"$hash\"; system = \"@system@\"}";
+ "{url = $url; md5 = \"$hash\"; system = \"@system@\";}";
my $nixexpr =
"((import @datadir@/nix/corepkgs/nar/unnar.nix) " .
- "{narFile = ($fetch); outPath = \"$storepath\"; system = \"@system@\"}) ";
+ "{narFile = ($fetch); outPath = \"$storepath\"; system = \"@system@\";}) ";
$fullexpr .= $nixexpr; # !!! O(n^2)?
push @storepaths, $storepath;
}
@@ -104,6 +104,6 @@ while (scalar @sucs > 0) {
if ($n > 256) { $n = 256 };
my @sucs2 = @sucs[0..$n - 1];
@sucs = @sucs[$n..scalar @sucs - 1];
- system "nix-store --successor @sucs";
+ system "nix-store --successor @sucs2";
if ($?) { die "`nix-store --successor' failed"; }
}