1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 00:18:30 +02: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 ./xresources.nix { })
(loadModule ./xsession.nix { })
(loadModule <nixpkgs/nixos/modules/misc/assertions.nix> { })
(loadModule <nixpkgs/nixos/modules/misc/meta.nix> { })
(loadModule (pkgs.path + "/nixos/modules/misc/assertions.nix") { })
(loadModule (pkgs.path + "/nixos/modules/misc/meta.nix") { })
];
modules = map (getAttr "file") (filter (getAttr "condition") allModules);