mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
Fix 'nix profile'
This commit is contained in:
parent
a045f93396
commit
b8a38fa521
1 changed files with 4 additions and 2 deletions
|
@ -126,9 +126,11 @@ struct ProfileManifest
|
|||
StringSink sink;
|
||||
dumpPath(tempDir, sink);
|
||||
|
||||
ValidPathInfo info(store->makeFixedOutputPath(true, info.narHash, "profile", references));
|
||||
auto narHash = hashString(htSHA256, *sink.s);
|
||||
|
||||
ValidPathInfo info(store->makeFixedOutputPath(true, narHash, "profile", references));
|
||||
info.references = std::move(references);
|
||||
info.narHash = hashString(htSHA256, *sink.s);
|
||||
info.narHash = narHash;
|
||||
info.narSize = sink.s->size();
|
||||
info.ca = makeFixedOutputCA(true, info.narHash);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue