mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 19:29:36 +01:00
Use named field initialization for references
This commit is contained in:
parent
8623143921
commit
6a168254ce
15 changed files with 34 additions and 26 deletions
|
|
@ -1426,7 +1426,7 @@ StorePath LocalStore::addToStoreFromDump(Source & source0, std::string_view name
|
|||
.method = method,
|
||||
.hash = hash,
|
||||
},
|
||||
{
|
||||
.references = {
|
||||
.references = references,
|
||||
.hasSelfReference = false,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue