This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user