mirror of
https://github.com/NixOS/nix
synced 2025-07-08 02:43:54 +02:00
Merge pull request #5053 from NixOS/fix-no-such-file-in-chrooted-store
[2.3]: Use the real path when checking imported CA paths
This commit is contained in:
commit
bd4e03d5fa
1 changed files with 1 additions and 1 deletions
|
@ -1038,7 +1038,7 @@ void LocalStore::addToStore(const ValidPathInfo & info, Source & source,
|
||||||
auto actualFoHash = hashCAPath(
|
auto actualFoHash = hashCAPath(
|
||||||
recursive,
|
recursive,
|
||||||
expectedHash.type,
|
expectedHash.type,
|
||||||
info.path
|
realPath
|
||||||
);
|
);
|
||||||
if (ca != actualFoHash) {
|
if (ca != actualFoHash) {
|
||||||
throw Error("ca hash mismatch importing path '%s';\n specified: %s\n got: %s",
|
throw Error("ca hash mismatch importing path '%s';\n specified: %s\n got: %s",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue