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