mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 13:11:00 +01:00
Remove constructor from ChrootPath
I rather use designated initializers.
This commit is contained in:
parent
bb600e1048
commit
4ab579b469
3 changed files with 9 additions and 15 deletions
|
|
@ -69,7 +69,7 @@ struct DarwinDerivationBuilder : DerivationBuilderImpl
|
|||
/* Add all our input paths to the chroot */
|
||||
for (auto & i : inputPaths) {
|
||||
auto p = store.printStorePath(i);
|
||||
pathsInChroot.insert_or_assign(p, p);
|
||||
pathsInChroot.insert_or_assign(p, ChrootPath{.source = p});
|
||||
}
|
||||
|
||||
/* Violations will go to the syslog if you set this. Unfortunately the destination does not appear to be
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue