Merge pull request #196897 from 9ary/warpd

warpd: fix wayland build
This commit is contained in:
Anderson Torres 2022-10-22 18:26:52 -03:00 committed by GitHub
commit d7cbeabf5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ git ];
buildInputs = [
buildInputs = if waylandSupport then [
cairo
libxkbcommon
wayland
] else [
libXi
libXinerama
libXft
@ -34,13 +38,9 @@ stdenv.mkDerivation rec {
libXtst
libX11
libXext
] ++ lib.optionals waylandSupport [
cairo
libxkbcommon
wayland
];
makeFlags = [ "PREFIX=$(out)" ];
makeFlags = [ "PREFIX=$(out)" ] ++ lib.optionals waylandSupport [ "PLATFORM=wayland" ];
postPatch = ''
substituteInPlace Makefile \