From 3e5346ccfd542e9abb928a7eca2e831b9c30df2e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 15 May 2021 22:15:06 +0200 Subject: better name nixImport --- utils/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/default.nix') diff --git a/utils/default.nix b/utils/default.nix index d00357af..48add212 100644 --- a/utils/default.nix +++ b/utils/default.nix @@ -3,7 +3,7 @@ rec { inherit (builtins) readDir; inherit (lib) filterAttrs hasSuffix removeSuffix mapAttrs' nameValuePair isFunction functionArgs setFunctionArgs id; mapFilterAttrs = seive: f: attrs: filterAttrs seive (mapAttrs' f attrs); - recImport = { dir, _import ? name: _base: import "${toString dir}/${name}" }: + nixImport = { dir, _import ? name: _base: import "${toString dir}/${name}" }: mapFilterAttrs (_: v: v != null) (n: v: -- cgit v1.2.3