mirror of
https://github.com/NixOS/nix
synced 2025-06-27 04:21:16 +02:00
Revert "Remove some designated initializers"
This reverts commit ee9eb83a84
.
This commit is contained in:
parent
123b11ff83
commit
85bb865d20
16 changed files with 21 additions and 21 deletions
|
@ -236,7 +236,7 @@ std::pair<StorePath, Hash> Store::computeStorePathForPath(std::string_view name,
|
|||
.method = method,
|
||||
.hash = h,
|
||||
},
|
||||
/* .references = */ {},
|
||||
.references = {},
|
||||
};
|
||||
return std::make_pair(makeFixedOutputPath(name, caInfo), h);
|
||||
}
|
||||
|
@ -445,7 +445,7 @@ ValidPathInfo Store::addToStoreSlow(std::string_view name, const Path & srcPath,
|
|||
.method = method,
|
||||
.hash = hash,
|
||||
},
|
||||
/* .references = */ {},
|
||||
.references = {},
|
||||
},
|
||||
narHash,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue