diff --git a/nixos/modules/programs/wayland/hyprland.nix b/nixos/modules/programs/wayland/hyprland.nix index ada935e3ca08..5b89dd1b2ad3 100644 --- a/nixos/modules/programs/wayland/hyprland.nix +++ b/nixos/modules/programs/wayland/hyprland.nix @@ -34,20 +34,7 @@ in }; }; - portalPackage = - lib.mkPackageOption pkgs "xdg-desktop-portal-hyprland" { - extraDescription = '' - If the package is not overridable with `hyprland`, then the Hyprland package - used by the portal may differ from the one set in the module option {option}`package`. - ''; - } - // { - apply = - p: - wayland-lib.genFinalPackage p { - hyprland = cfg.package; - }; - }; + portalPackage = lib.mkPackageOption pkgs "xdg-desktop-portal-hyprland" { }; xwayland.enable = lib.mkEnableOption "XWayland" // { default = true; diff --git a/pkgs/by-name/xd/xdg-desktop-portal-hyprland/package.nix b/pkgs/by-name/xd/xdg-desktop-portal-hyprland/package.nix index 1a9f1539a4f6..2bfc42ea2200 100644 --- a/pkgs/by-name/xd/xdg-desktop-portal-hyprland/package.nix +++ b/pkgs/by-name/xd/xdg-desktop-portal-hyprland/package.nix @@ -10,7 +10,6 @@ cairo, grim, hyprgraphics, - hyprland, hyprland-protocols, hyprlang, hyprtoolkit, @@ -83,7 +82,6 @@ gcc16Stdenv.mkDerivation (finalAttrs: { lib.makeBinPath [ (placeholder "out") grim - hyprland slurp ] }