nixos/top-level: pass lib to specialisations

This commit is contained in:
Naïm Favier 2021-07-03 13:05:55 +02:00 committed by GitHub
parent d364e06e4b
commit c0b2241e53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ let
# !!! fix this
children = mapAttrs (childName: childConfig:
(import ../../../lib/eval-config.nix {
inherit baseModules specialArgs;
inherit lib baseModules specialArgs;
system = config.nixpkgs.initialSystem;
modules =
(optionals childConfig.inheritParentConfig modules)