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
)
This commit is contained in:
Jost Alemann
2026-05-08 15:08:07 +02:00
parent 77d60beab2
commit 387745378e
@@ -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 = {