Loading pkgs/top-level/all-packages.nix +7 −7 Original line number Diff line number Diff line Loading @@ -13189,14 +13189,14 @@ with pkgs; thelounge = callPackage ../applications/networking/irc/thelounge { }; theLoungePlugins = with lib; let pkgs = filterAttrs (name: _: hasPrefix "thelounge-" name) nodePackages; getPackagesWithPrefix = prefix: mapAttrs' (name: pkg: nameValuePair (removePrefix ("thelounge-" + prefix + "-") name) pkg) (filterAttrs (name: _: hasPrefix ("thelounge-" + prefix + "-") name) pkgs); theLoungePlugins = let pkgs = lib.filterAttrs (name: _: lib.hasPrefix "thelounge-" name) nodePackages; getPackagesWithPrefix = prefix: lib.mapAttrs' (name: pkg: lib.nameValuePair (lib.removePrefix ("thelounge-" + prefix + "-") name) pkg) (lib.filterAttrs (name: _: lib.hasPrefix ("thelounge-" + prefix + "-") name) pkgs); in recurseIntoAttrs { plugins = recurseIntoAttrs (getPackagesWithPrefix "plugin"); themes = recurseIntoAttrs (getPackagesWithPrefix "theme"); lib.recurseIntoAttrs { plugins = lib.recurseIntoAttrs (getPackagesWithPrefix "plugin"); themes = lib.recurseIntoAttrs (getPackagesWithPrefix "theme"); }; theme-sh = callPackage ../tools/misc/theme-sh { }; Loading
pkgs/top-level/all-packages.nix +7 −7 Original line number Diff line number Diff line Loading @@ -13189,14 +13189,14 @@ with pkgs; thelounge = callPackage ../applications/networking/irc/thelounge { }; theLoungePlugins = with lib; let pkgs = filterAttrs (name: _: hasPrefix "thelounge-" name) nodePackages; getPackagesWithPrefix = prefix: mapAttrs' (name: pkg: nameValuePair (removePrefix ("thelounge-" + prefix + "-") name) pkg) (filterAttrs (name: _: hasPrefix ("thelounge-" + prefix + "-") name) pkgs); theLoungePlugins = let pkgs = lib.filterAttrs (name: _: lib.hasPrefix "thelounge-" name) nodePackages; getPackagesWithPrefix = prefix: lib.mapAttrs' (name: pkg: lib.nameValuePair (lib.removePrefix ("thelounge-" + prefix + "-") name) pkg) (lib.filterAttrs (name: _: lib.hasPrefix ("thelounge-" + prefix + "-") name) pkgs); in recurseIntoAttrs { plugins = recurseIntoAttrs (getPackagesWithPrefix "plugin"); themes = recurseIntoAttrs (getPackagesWithPrefix "theme"); lib.recurseIntoAttrs { plugins = lib.recurseIntoAttrs (getPackagesWithPrefix "plugin"); themes = lib.recurseIntoAttrs (getPackagesWithPrefix "theme"); }; theme-sh = callPackage ../tools/misc/theme-sh { };