mirror of
https://github.com/NixOS/nix.git
synced 2025-12-14 13:01:05 +01:00
Create StringSet DerivationBuilderParams::systemFeatures
Do this to avoid checking "system features" from the store config directly, because we rather not have `DerivationBuilder` depend on `Store`.
This commit is contained in:
parent
f5f9e32f54
commit
f4a0161cb1
3 changed files with 10 additions and 1 deletions
|
|
@ -766,6 +766,7 @@ Goal::Co DerivationBuildingGoal::tryToBuild()
|
|||
.initialOutputs = initialOutputs,
|
||||
.buildMode = buildMode,
|
||||
.defaultPathsInChroot = std::move(defaultPathsInChroot),
|
||||
.systemFeatures = worker.store.config.systemFeatures.get(),
|
||||
.finalEnv = std::move(finalEnv),
|
||||
.extraFiles = std::move(extraFiles),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue