1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 18:59:47 +01: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 (