mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08: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:
@@ -9,7 +9,7 @@ let
|
||||
|
||||
cfg = config.home-manager;
|
||||
|
||||
extendedLib = import ../modules/lib/stdlib-extended.nix pkgs.lib;
|
||||
extendedLib = import ../modules/lib/stdlib-extended.nix lib;
|
||||
|
||||
hmModule = types.submoduleWith {
|
||||
description = "Home Manager module";
|
||||
|
||||
Reference in New Issue
Block a user