aboutsummaryrefslogtreecommitdiff
path: root/modules/lib/types.nix
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2020-01-16 23:41:14 +0100
committerRobert Helgesson <robert@rycee.net>2020-01-21 20:47:04 +0100
commit6e4b9af0803ac00e94398768c5d19d2e423b0be9 (patch)
tree65f117f6a8b562348eaf12469dadb084af2be417 /modules/lib/types.nix
parentc8323a0bf16acf2c9d89ce164568089017d19668 (diff)
Switch to extended Nixpkg's `lib`
This change makes use of the `extend` function inside `lib` to inject a new `hm` field containing the Home Manager library functions. This simplifies use of the Home Manager library in the modules and reduces the risk of accidental infinite recursion. PR #994
Diffstat (limited to '')
-rw-r--r--modules/lib/types.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/lib/types.nix b/modules/lib/types.nix
index da8b7d4f2c9..78a875f519e 100644
--- a/modules/lib/types.nix
+++ b/modules/lib/types.nix
@@ -4,7 +4,6 @@ with lib;
let
- hmLib = import ./default.nix { inherit lib; };
typesDag = import ./types-dag.nix { inherit dag lib; };
in