diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-05-15 22:16:10 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-05-15 22:16:10 +0200 |
commit | 98ce9a9d0307c4695728ee09de2e54c30cfbdac2 (patch) | |
tree | f9a49b59b9ac9541327bbd956e3e2cafe3bb46fc /utils | |
parent | 0e0f035264d897e65676ecdc06aee555fae796a8 (diff) | |
parent | 3e5346ccfd542e9abb928a7eca2e831b9c30df2e (diff) | |
download | nixos-98ce9a9d0307c4695728ee09de2e54c30cfbdac2.tar nixos-98ce9a9d0307c4695728ee09de2e54c30cfbdac2.tar.gz nixos-98ce9a9d0307c4695728ee09de2e54c30cfbdac2.tar.bz2 nixos-98ce9a9d0307c4695728ee09de2e54c30cfbdac2.tar.xz nixos-98ce9a9d0307c4695728ee09de2e54c30cfbdac2.zip |
Merge branch 'flakes-template' into flakes
Diffstat (limited to 'utils')
-rw-r--r-- | utils/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
3 | inherit (builtins) readDir; | 3 | inherit (builtins) readDir; |
4 | inherit (lib) filterAttrs hasSuffix removeSuffix mapAttrs' nameValuePair isFunction functionArgs setFunctionArgs id; | 4 | inherit (lib) filterAttrs hasSuffix removeSuffix mapAttrs' nameValuePair isFunction functionArgs setFunctionArgs id; |
5 | mapFilterAttrs = seive: f: attrs: filterAttrs seive (mapAttrs' f attrs); | 5 | mapFilterAttrs = seive: f: attrs: filterAttrs seive (mapAttrs' f attrs); |
6 | recImport = { dir, _import ? name: _base: import "${toString dir}/${name}" }: | 6 | nixImport = { dir, _import ? name: _base: import "${toString dir}/${name}" }: |
7 | mapFilterAttrs | 7 | mapFilterAttrs |
8 | (_: v: v != null) | 8 | (_: v: v != null) |
9 | (n: v: | 9 | (n: v: |