Skip to content

Commit

Permalink
nixos/activation: propagate system to nested configurations
Browse files Browse the repository at this point in the history
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
  • Loading branch information
thefloweringash committed Feb 27, 2020
1 parent 9879184 commit b83164a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/system/activation/top-level.nix
Expand Up @@ -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 ]
Expand Down

0 comments on commit b83164a

Please sign in to comment.