mirror of
https://github.com/nix-community/home-manager
synced 2024-11-19 09:39:45 +01:00
nixos: use lib
argument instead of pkgs.lib
(#3454)
This allows users to pass a lib with custom attributes and have those available to custom HM modules.
This commit is contained in:
parent
6142193635
commit
d82c9af817
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ let
|
||||||
|
|
||||||
cfg = config.home-manager;
|
cfg = config.home-manager;
|
||||||
|
|
||||||
extendedLib = import ../modules/lib/stdlib-extended.nix pkgs.lib;
|
extendedLib = import ../modules/lib/stdlib-extended.nix lib;
|
||||||
|
|
||||||
hmModule = types.submoduleWith {
|
hmModule = types.submoduleWith {
|
||||||
description = "Home Manager module";
|
description = "Home Manager module";
|
||||||
|
|
Loading…
Reference in a new issue