mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
Merge pull request #323167 from eclairevoyant/xwayland-impurity
xwayland: fix impure dependency on /bin/sh
This commit is contained in:
commit
94908d1ca3
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user