diff --git a/pkgs/servers/x11/xorg/xwayland.nix b/pkgs/servers/x11/xorg/xwayland.nix index 11913a39e017..d8d118f30761 100644 --- a/pkgs/servers/x11/xorg/xwayland.nix +++ b/pkgs/servers/x11/xorg/xwayland.nix @@ -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 ];