aboutsummaryrefslogtreecommitdiff
path: root/scripts/nix-push.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2011-02-17 15:08:33 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2011-02-17 15:08:33 +0000
commit802c2651c84b73a54b2a89484aa463f1f0df3b94 (patch)
tree51ac038c355f06973eef8485b9b44b6b34875040 /scripts/nix-push.in
parente945b52a31ab339b253df40e35828582eff77e54 (diff)
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 fa83f92c8..7b9d52161 100644
--- a/scripts/nix-push.in
+++ b/scripts/nix-push.in
@@ -196,7 +196,7 @@ for (my $n = 0; $n < scalar @storePaths; $n++) {
# In some exceptional cases (such as VM tests that use the Nix
# store of the host), the database doesn't contain the hash. So
# compute it.
- if ($narHash eq "sha256:0000000000000000000000000000000000000000000000000000000000000000") {
+ if ($narHash eq "sha256:0000000000000000000000000000000000000000000000000000") {
$narHash = `$binDir/nix-hash --type sha256 '$storePath'`;
die "cannot hash `$storePath'" if $? != 0;
chomp $narHash;