diff options
author | sefidel <contact@sefidel.net> | 2024-01-24 19:09:22 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-01-24 19:09:22 +0900 |
commit | 160928be5dc7057777c59d98549046361e3060f2 (patch) | |
tree | 5bc0eca166cc452587d670f2fcc1f9c89620c9cc | |
parent | ed8578cb356c5e714df07a8c3f4717b1a342d9a7 (diff) | |
download | nixrc-160928be5dc7057777c59d98549046361e3060f2.tar.gz nixrc-160928be5dc7057777c59d98549046361e3060f2.zip |
fix(lib): fix attrs
-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: |