mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Revert "Merge pull request #9546 from NixOS/nixos-23.11"
This reverts commit587c7dcb2b
, reversing changes made to864fc85fc8
.
This commit is contained in:
parent
bcd6b33dbc
commit
d6d7d2cb46
7 changed files with 23 additions and 20 deletions
|
@ -1208,7 +1208,7 @@ StorePath LocalStore::addToStoreFromDump(
|
|||
Path tempDir;
|
||||
AutoCloseFD tempDirFd;
|
||||
|
||||
bool methodsMatch = ContentAddressMethod(FileIngestionMethod(dumpMethod)) == hashMethod;
|
||||
bool methodsMatch = (FileIngestionMethod) dumpMethod == hashMethod;
|
||||
|
||||
/* If the methods don't match, our streaming hash of the dump is the
|
||||
wrong sort, and we need to rehash. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue