1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 13:41:15 +02:00

Add a test for fetchClosure and 'nix store make-content-addressed'

This commit is contained in:
Eelco Dolstra 2022-03-22 23:19:21 +01:00
parent 4120930ac1
commit 28186b7044
5 changed files with 64 additions and 4 deletions

View file

@ -52,7 +52,7 @@ std::map<StorePath, StorePath> makeContentAddressed(
auto dstPath = dstStore.makeFixedOutputPath(
FileIngestionMethod::Recursive, narModuloHash, path.name(), references, hasSelfReference);
printInfo("rewroting '%s' to '%s'", pathS, srcStore.printStorePath(dstPath));
printInfo("rewriting '%s' to '%s'", pathS, srcStore.printStorePath(dstPath));
StringSink sink2;
RewritingSink rsink2(oldHashPart, std::string(dstPath.hashPart()), sink2);