xdg-desktop-portal-wlr: add slurp to the environment

fixes #121678
This commit is contained in:
Minijackson 2021-05-04 21:34:10 +02:00
parent c32d2b6a7a
commit 9c6b037270
No known key found for this signature in database
GPG Key ID: FEA888C9F5D64F62

View File

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, makeWrapper
, meson, ninja, pkg-config, wayland-protocols
, pipewire, wayland, systemd, libdrm, iniparser, scdoc, grim }:
, pipewire, wayland, systemd, libdrm, iniparser, scdoc, grim, slurp }:
stdenv.mkDerivation rec {
pname = "xdg-desktop-portal-wlr";
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
];
postInstall = ''
wrapProgram $out/libexec/xdg-desktop-portal-wlr --prefix PATH ":" ${lib.makeBinPath [ grim ]}
wrapProgram $out/libexec/xdg-desktop-portal-wlr --prefix PATH ":" ${lib.makeBinPath [ grim slurp ]}
'';
meta = with lib; {