This commit is contained in:
parent
e945b52a31
commit
802c2651c8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue