From 387745378edc883b3138796784ef3417c8f7193a Mon Sep 17 00:00:00 2001 From: Jost Alemann Date: Fri, 8 May 2026 12:30:37 +0200 Subject: [PATCH] xdg-desktop-portal-hyprland: add grim dependency grim is required for screenshots (e.g. fix flameshot problems, see: https://github.com/flameshot-org/flameshot/issues/4666#issuecomment-4403712306 ) --- .../hyprwm/xdg-desktop-portal-hyprland/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/default.nix b/pkgs/applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/default.nix index 755258e07856..2b82a564ac13 100644 --- a/pkgs/applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/default.nix +++ b/pkgs/applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/default.nix @@ -7,6 +7,7 @@ pkg-config, wrapQtAppsHook, nix-update-script, + grim, hyprland, hyprland-protocols, hyprlang, @@ -83,7 +84,12 @@ stdenv.mkDerivation (finalAttrs: { } wrapProgramShell $out/libexec/xdg-desktop-portal-hyprland \ - --prefix PATH ":" ${lib.makeBinPath [ (placeholder "out") ]} + --prefix PATH ":" ${ + lib.makeBinPath [ + (placeholder "out") + grim + ] + } ''; passthru = {