mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 15:02:42 +01:00
More designated initializers
This commit is contained in:
parent
2f0e395c99
commit
911fc88bcb
6 changed files with 19 additions and 10 deletions
|
|
@ -1079,7 +1079,7 @@ StorePath LocalStore::addToStoreFromDump(const string & dump, const string & nam
|
|||
ValidPathInfo info(dstPath);
|
||||
info.narHash = hash.first;
|
||||
info.narSize = hash.second;
|
||||
info.ca = FixedOutputHash { method, h };
|
||||
info.ca = FixedOutputHash { .method = method, .hash = h };
|
||||
registerValidPath(info);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue