about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/default.nix2
-rw-r--r--lib/modules.nix2
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: