mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02: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
|
@ -313,7 +313,7 @@ StorePath BinaryCacheStore::addToStoreFromDump(Source & dump, std::string_view n
|
|||
.method = method,
|
||||
.hash = nar.first,
|
||||
},
|
||||
{
|
||||
.references = {
|
||||
.references = references,
|
||||
.hasSelfReference = false,
|
||||
},
|
||||
|
@ -433,7 +433,7 @@ StorePath BinaryCacheStore::addToStore(
|
|||
.method = method,
|
||||
.hash = h,
|
||||
},
|
||||
{
|
||||
.references = {
|
||||
.references = references,
|
||||
.hasSelfReference = false,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue