Merge pull request #121729 from minijackson/xdg-desktop-portal-wlr-add-slurp

xdg-desktop-portal-wlr: add slurp to the environment
This commit is contained in:
Gabriel Ebner 2021-05-10 18:09:54 +02:00 committed by GitHub
commit b2a7c36972
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, makeWrapper { lib, stdenv, fetchFromGitHub, makeWrapper
, meson, ninja, pkg-config, wayland-protocols , meson, ninja, pkg-config, wayland-protocols
, pipewire, wayland, systemd, libdrm, iniparser, scdoc, grim }: , pipewire, wayland, systemd, libdrm, iniparser, scdoc, grim, slurp }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "xdg-desktop-portal-wlr"; pname = "xdg-desktop-portal-wlr";
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
]; ];
postInstall = '' 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; { meta = with lib; {