From d82c9af8175878a461a0fdf914e67cc446664570 Mon Sep 17 00:00:00 2001 From: ThinkChaos Date: Wed, 26 Apr 2023 15:03:06 -0400 Subject: [PATCH] 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. --- nixos/common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/common.nix b/nixos/common.nix index 25872b254..a897799d9 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -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";