nixos/activation: propagate system to nested configurations
The current behavior lets `system` default to `builtins.currentSystem`. The system value specified to `eval-config.nix` has very low precedence, so this should compose properly. Fixes #80806
This commit is contained in:
parent
98791845cb
commit
b83164a049
@ -15,6 +15,7 @@ let
|
|||||||
map (childConfig:
|
map (childConfig:
|
||||||
(import ../../../lib/eval-config.nix {
|
(import ../../../lib/eval-config.nix {
|
||||||
inherit baseModules;
|
inherit baseModules;
|
||||||
|
system = config.nixpkgs.system;
|
||||||
modules =
|
modules =
|
||||||
(optionals inheritParent modules)
|
(optionals inheritParent modules)
|
||||||
++ [ ./no-clone.nix ]
|
++ [ ./no-clone.nix ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user