Merge pull request #196897 from 9ary/warpd

warpd: fix wayland build

authored by Anderson Torres and committed by GitHub d7cbeabf 97a32193

+6 -6
+6 -6
pkgs/applications/misc/warpd/default.nix
··· 26 27 nativeBuildInputs = [ git ]; 28 29 - buildInputs = [ 30 libXi 31 libXinerama 32 libXft ··· 34 libXtst 35 libX11 36 libXext 37 - ] ++ lib.optionals waylandSupport [ 38 - cairo 39 - libxkbcommon 40 - wayland 41 ]; 42 43 - makeFlags = [ "PREFIX=$(out)" ]; 44 45 postPatch = '' 46 substituteInPlace Makefile \
··· 26 27 nativeBuildInputs = [ git ]; 28 29 + buildInputs = if waylandSupport then [ 30 + cairo 31 + libxkbcommon 32 + wayland 33 + ] else [ 34 libXi 35 libXinerama 36 libXft ··· 38 libXtst 39 libX11 40 libXext 41 ]; 42 43 + makeFlags = [ "PREFIX=$(out)" ] ++ lib.optionals waylandSupport [ "PLATFORM=wayland" ]; 44 45 postPatch = '' 46 substituteInPlace Makefile \