From 29385f0560ed3ed350f1af56b1ac3f827887ec56 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Tue, 15 Dec 2020 20:24:58 +0100 Subject: [PATCH] nixos-containers: remove redundant eval-config args The values of these args are identical to the default values defined in `eval-config.nix`. Note especially that `lib` is not reevaluated. --- nixos/modules/virtualisation/nixos-containers.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/nixos/modules/virtualisation/nixos-containers.nix b/nixos/modules/virtualisation/nixos-containers.nix index 26398afb3cf5..df9031c7e9ec 100644 --- a/nixos/modules/virtualisation/nixos-containers.nix +++ b/nixos/modules/virtualisation/nixos-containers.nix @@ -476,8 +476,6 @@ in merge = loc: defs: (import (confPkgs.path + "/nixos/lib/eval-config.nix") { inherit system; pkgs = confPkgs; - baseModules = import (confPkgs.path + "/nixos/modules/module-list.nix"); - inherit (confPkgs) lib; modules = let extraConfig = {