mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 08:16:14 +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;
|
StringSink sink;
|
||||||
dumpPath(tempDir, 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.references = std::move(references);
|
||||||
info.narHash = hashString(htSHA256, *sink.s);
|
info.narHash = narHash;
|
||||||
info.narSize = sink.s->size();
|
info.narSize = sink.s->size();
|
||||||
info.ca = makeFixedOutputCA(true, info.narHash);
|
info.ca = makeFixedOutputCA(true, info.narHash);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue