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:
Andrew Childs 2020-02-27 23:55:21 +09:00
parent 98791845cb
commit b83164a049

View File

@ -15,6 +15,7 @@ let
map (childConfig:
(import ../../../lib/eval-config.nix {
inherit baseModules;
system = config.nixpkgs.system;
modules =
(optionals inheritParent modules)
++ [ ./no-clone.nix ]