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:
commit
b2a7c36972
@ -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; {
|
||||||
|
Loading…
Reference in New Issue
Block a user