xwayland: fix impure dependency on /bin/sh

This commit is contained in:
éclairevoyant
2024-06-28 10:12:08 -04:00
parent 2b0a85d8a9
commit faff2d62ac
+6
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
];