From 646e214e114a0965d1b38313de5d221f55f0f787 Mon Sep 17 00:00:00 2001 From: David Arnold Date: Thu, 26 May 2022 20:00:05 -0500 Subject: nixos: remove effect-less nixpgks.initialSystem - initialSystem was keeping track of the evaluating system - it had been used by `nesting.children` - since, 20.09, `nesting.children` has been replaced with named specializations It appears that this option was left over and not cleand up properly. --- nixos/lib/eval-config.nix | 5 ----- 1 file changed, 5 deletions(-) (limited to 'nixos/lib') diff --git a/nixos/lib/eval-config.nix b/nixos/lib/eval-config.nix index 2daaa8a118632..3b58ef297973e 100644 --- a/nixos/lib/eval-config.nix +++ b/nixos/lib/eval-config.nix @@ -50,11 +50,6 @@ let # they way through, but has the last priority behind everything else. nixpkgs.system = lib.mkDefault system; - # Stash the value of the `system` argument. When using `nesting.children` - # we want to have the same default value behavior (immediately above) - # without any interference from the user's configuration. - nixpkgs.initialSystem = system; - _module.args.pkgs = lib.mkIf (pkgs_ != null) (lib.mkForce pkgs_); }; }; -- cgit 1.4.1