mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-22 14:35:57 +01:00
nix: adds grim and slurp to PATH to support screenshots (#25)
This commit is contained in:
parent
a9b76c7f99
commit
2fa7e345a4
1 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,8 @@
|
||||||
wayland-protocols,
|
wayland-protocols,
|
||||||
wayland-scanner,
|
wayland-scanner,
|
||||||
hyprland-share-picker,
|
hyprland-share-picker,
|
||||||
|
grim,
|
||||||
|
slurp,
|
||||||
hyprland-protocols,
|
hyprland-protocols,
|
||||||
inih,
|
inih,
|
||||||
libdrm,
|
libdrm,
|
||||||
|
@ -35,7 +37,7 @@ stdenv.mkDerivation {
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
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; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue