xdg-desktop-portal-wlr: add bash to program wrapper

man 5 xdg-desktop-portal-wlr states multiple times:
"The command will be executed within sh"

And this does fix a runtime error for me. So I guess that's that.
This commit is contained in:
Shahar "Dawn" Or 2023-10-23 21:34:09 +07:00
parent 58c53b1a54
commit 8ba1623414

View File

@ -1,5 +1,6 @@
{ lib
, stdenv
, bash
, fetchFromGitHub
, makeWrapper
, meson
@ -39,7 +40,7 @@ stdenv.mkDerivation rec {
];
postInstall = ''
wrapProgram $out/libexec/xdg-desktop-portal-wlr --prefix PATH ":" ${lib.makeBinPath [ grim slurp ]}
wrapProgram $out/libexec/xdg-desktop-portal-wlr --prefix PATH ":" ${lib.makeBinPath [ bash grim slurp ]}
'';
meta = with lib; {