forked from lix-project/lix
This commit is contained in:
parent
e945b52a31
commit
802c2651c8
|
@ -196,7 +196,7 @@ for (my $n = 0; $n < scalar @storePaths; $n++) {
|
||||||
# In some exceptional cases (such as VM tests that use the Nix
|
# In some exceptional cases (such as VM tests that use the Nix
|
||||||
# store of the host), the database doesn't contain the hash. So
|
# store of the host), the database doesn't contain the hash. So
|
||||||
# compute it.
|
# compute it.
|
||||||
if ($narHash eq "sha256:0000000000000000000000000000000000000000000000000000000000000000") {
|
if ($narHash eq "sha256:0000000000000000000000000000000000000000000000000000") {
|
||||||
$narHash = `$binDir/nix-hash --type sha256 '$storePath'`;
|
$narHash = `$binDir/nix-hash --type sha256 '$storePath'`;
|
||||||
die "cannot hash `$storePath'" if $? != 0;
|
die "cannot hash `$storePath'" if $? != 0;
|
||||||
chomp $narHash;
|
chomp $narHash;
|
||||||
|
|
Loading…
Reference in a new issue