Unverified Commit 62dbe1ca authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

hyprlandPlugins.hyprscroller: make throw an alias

This is required to make CI work properly.
parent 38002286
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
{
  config,
  lib,
  callPackage,
  pkg-config,
@@ -28,12 +29,12 @@ let
    { hypr-dynamic-cursors = import ./hypr-dynamic-cursors.nix; }
    { hyprfocus = import ./hyprfocus.nix; }
    { hyprgrass = import ./hyprgrass.nix; }
    {
      hyprscroller = throw "hyprlandPlugins.hyprscroller has been removed as the upstream project is deprecated. Consider using `hyprlandPlugins.hyprscrolling`.";
    } # Added 2025-05-09
    { hyprspace = import ./hyprspace.nix; }
    { hyprsplit = import ./hyprsplit.nix; }
    (import ./hyprland-plugins.nix)
    (lib.optionalAttrs config.allowAliases {
      hyprscroller = throw "hyprlandPlugins.hyprscroller has been removed as the upstream project is deprecated. Consider using `hyprlandPlugins.hyprscrolling`."; # Added 2025-05-09
    })
  ];
in
(lib.mapAttrs (name: plugin: callPackage plugin { inherit mkHyprlandPlugin; }) plugins)