about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-01-24 19:09:22 +0900
committersefidel <contact@sefidel.net>2024-01-24 19:09:22 +0900
commit160928be5dc7057777c59d98549046361e3060f2 (patch)
tree5bc0eca166cc452587d670f2fcc1f9c89620c9cc /lib
parented8578cb356c5e714df07a8c3f4717b1a342d9a7 (diff)
downloadnixrc-160928be5dc7057777c59d98549046361e3060f2.tar.gz
nixrc-160928be5dc7057777c59d98549046361e3060f2.zip
fix(lib): fix attrs
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: