nit(lib): reformat

This commit is contained in:
Infinidoge 2022-08-27 13:05:20 -04:00
parent 82729bf336
commit ff6a1940d6

View file

@ -1,12 +1,10 @@
{ lib }:
lib.makeExtensible (self:
with lib;
rec {
flattenListSet = imports: (flatten (concatLists (attrValues imports)));
flattenSetList = attrSet: (mapAttrs (name: value: flatten value) attrSet);
# ["/home/user/" "/.screenrc"] -> ["home" "user" ".screenrc"]
splitPath = paths:
(filter
@ -31,5 +29,4 @@ lib.makeExtensible (self:
(strings.sanitizeDerivationName (removePrefix "/" name));
getMainProgram = package: "${package}/bin/${attrByPath ["meta" "mainProgram"] package.pname package}";
}
)
})