less parenthesis, more iunno, gay

This commit is contained in:
kat witch 2021-08-09 23:25:04 +01:00
parent 3ccfafb192
commit 32b95f5cbf
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72

View file

@ -18,7 +18,7 @@ let
filterAttrNamesToList = filter: set:
lib.foldl' (a: b: a ++ b) [ ]
(map (e: if (filter e set.${e}) then [ e ] else [ ]) (lib.attrNames set));
depotNames = lib.unique ((lib.folderList ./depot ["trusted"]) ++ (lib.folderList ./depot/trusted ["pkgs"]));
depotNames = lib.unique (lib.folderList ./depot ["trusted"] ++ lib.folderList ./depot/trusted ["pkgs"]);
depot = lib.mapListToAttrs (folder: lib.nameValuePair folder (lib.domainMerge { inherit folder; })) depotNames;
/*