modules: register the base modules path
This is needed, for example, to support relative paths when disabling
modules.
(cherry picked from commit f8b03f5750
)
This commit is contained in:
parent
69851e4c35
commit
5c1d10497d
|
@ -23,6 +23,9 @@ let
|
|||
modules =
|
||||
[ configuration ]
|
||||
++ (import ./modules.nix { inherit check lib pkgs; });
|
||||
specialArgs = {
|
||||
modulesPath = builtins.toString ./.;
|
||||
};
|
||||
};
|
||||
|
||||
module = showWarnings (
|
||||
|
|
Loading…
Reference in a new issue