aboutsummaryrefslogtreecommitdiff
path: root/scripts/nix-push.in
diff options
context:
space:
mode:
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;