1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-21 22:18:31 +02:00

modules: register the base modules path

This is needed, for example, to support relative paths when disabling
modules.
This commit is contained in:
Robert Helgesson 2019-04-07 13:14:15 +02:00
parent 2c07829be2
commit f8b03f5750
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -23,6 +23,9 @@ let
modules =
[ configuration ]
++ (import ./modules.nix { inherit check lib pkgs; });
specialArgs = {
modulesPath = builtins.toString ./.;
};
};
module = showWarnings (