Merge pull request #323167 from eclairevoyant/xwayland-impurity

xwayland: fix impure dependency on /bin/sh
This commit is contained in:
K900 2024-06-29 13:53:15 +03:00 committed by GitHub
commit 94908d1ca3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,5 @@
{ egl-wayland
, bash
, libepoxy
, fetchurl
, fetchpatch
@ -73,6 +74,11 @@ stdenv.mkDerivation rec {
})
];
postPatch = ''
substituteInPlace os/utils.c \
--replace-fail '/bin/sh' '${lib.getExe' bash "sh"}'
'';
depsBuildBuild = [
pkg-config
];