diff options
author | makefu <github@syntax-fehler.de> | 2020-04-22 00:30:37 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-04-22 00:30:37 +0200 |
commit | e3669df7ee9006201f6a2960253f8f774e661dc8 (patch) | |
tree | c7c75299a49f110632357bc830b550c9b6470f68 /lib | |
parent | b3a59f2fcfc99aecd90b624a67e5880bafa7ecee (diff) | |
parent | febd745a80152ae34f7f8dff3017994f85981cf7 (diff) |
Merge remote-tracking branch 'lass/20.03' into 20.03
Diffstat (limited to 'lib')
-rw-r--r-- | lib/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/default.nix b/lib/default.nix index 14e6e27..5a948bb 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -49,6 +49,8 @@ let indent = replaceChars ["\n"] ["\n "]; + stripAttr = converge (filterAttrsRecursive (n: v: v != {} && v != null)); + mapNixDir = f: x: { list = foldl' mergeAttrs {} (map (mapNixDir1 f) x); path = mapNixDir1 f x; |