theLoungePlugins: recurseIntoAttrs

This commit is contained in:
Winter
2022-01-13 17:09:04 -05:00
parent 43582dcd07
commit 052832e9be
+3 -3
View File
@@ -10167,9 +10167,9 @@ with pkgs;
getPackagesWithPrefix = prefix: mapAttrs' (name: pkg: nameValuePair (removePrefix ("thelounge-" + prefix + "-") name) pkg)
(filterAttrs (name: _: hasPrefix ("thelounge-" + prefix + "-") name) pkgs);
in
{
plugins = getPackagesWithPrefix "plugin";
themes = getPackagesWithPrefix "theme";
recurseIntoAttrs {
plugins = recurseIntoAttrs (getPackagesWithPrefix "plugin");
themes = recurseIntoAttrs (getPackagesWithPrefix "theme");
};
thefuck = python3Packages.callPackage ../tools/misc/thefuck { };