diff options
-rw-r--r-- | lib/default.nix | 2 | ||||
-rw-r--r-- | lib/modules.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/default.nix b/lib/default.nix index 8e95c8c..d437dc6 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -6,7 +6,7 @@ let modules = import ./modules.nix { inherit lib; - self.attrs = import ./attrs.nix { inherit lib; self = { }; }; + self.lib.attrs = import ./attrs.nix { inherit lib; self = { }; }; }; mylib = makeExtensible (self: diff --git a/lib/modules.nix b/lib/modules.nix index ef7c289..64ae724 100644 --- a/lib/modules.nix +++ b/lib/modules.nix @@ -3,7 +3,7 @@ let inherit (builtins) attrValues readDir pathExists concatLists; inherit (lib) id mapAttrsToList filterAttrs hasPrefix hasSuffix nameValuePair removeSuffix; - inherit (self.attrs) mapFilterAttrs; + inherit (self.lib.attrs) mapFilterAttrs; in rec { mapModules = dir: fn: |