1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 13:39:46 +01:00

modules: use pkgs.path instead of <nixpkgs>

PR #992
This commit is contained in:
arcnmx 2020-01-15 11:07:26 -08:00 committed by Robert Helgesson
parent bff499113e
commit b053dc8697
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -157,8 +157,8 @@ let
(loadModule ./xcursor.nix { }) (loadModule ./xcursor.nix { })
(loadModule ./xresources.nix { }) (loadModule ./xresources.nix { })
(loadModule ./xsession.nix { }) (loadModule ./xsession.nix { })
(loadModule <nixpkgs/nixos/modules/misc/assertions.nix> { }) (loadModule (pkgs.path + "/nixos/modules/misc/assertions.nix") { })
(loadModule <nixpkgs/nixos/modules/misc/meta.nix> { }) (loadModule (pkgs.path + "/nixos/modules/misc/meta.nix") { })
]; ];
modules = map (getAttr "file") (filter (getAttr "condition") allModules); modules = map (getAttr "file") (filter (getAttr "condition") allModules);