Unverified Commit faff2d62 authored by éclairevoyant's avatar éclairevoyant
Browse files

xwayland: fix impure dependency on /bin/sh

parent 2b0a85d8
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
  ];