nix: adds grim and slurp to PATH to support screenshots (#25)

This commit is contained in:
Philipp Mildenberger 2023-02-11 16:59:30 +01:00 committed by GitHub
parent a9b76c7f99
commit 2fa7e345a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,8 @@
wayland-protocols,
wayland-scanner,
hyprland-share-picker,
grim,
slurp,
hyprland-protocols,
inih,
libdrm,
@ -35,7 +37,7 @@ stdenv.mkDerivation {
];
postInstall = ''
wrapProgram $out/libexec/xdg-desktop-portal-hyprland --prefix PATH ":" ${lib.makeBinPath [hyprland-share-picker]}
wrapProgram $out/libexec/xdg-desktop-portal-hyprland --prefix PATH ":" ${lib.makeBinPath [hyprland-share-picker grim slurp]}
'';
meta = with lib; {