Unverified Commit 94908d1c authored by K900's avatar K900 Committed by GitHub
Browse files

Merge pull request #323167 from eclairevoyant/xwayland-impurity

xwayland: fix impure dependency on /bin/sh
parents 351d5e9f faff2d62
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
{ 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
  ];