vulkan-loader: enable wayland WSI

This commit is contained in:
lummax 2016-08-31 22:57:37 +02:00 committed by Joe Hermaszewski
parent 051024a581
commit b52e8809d6

View file

@ -1,5 +1,5 @@
{ stdenv, fetchgit, fetchFromGitHub, cmake, pkgconfig, git, python3,
python3Packages, glslang, spirv-tools, x11, libxcb}:
python3Packages, glslang, spirv-tools, x11, libxcb, wayland }:
assert stdenv.system == "x86_64-linux";
@ -15,9 +15,13 @@ stdenv.mkDerivation rec {
};
buildInputs = [ cmake pkgconfig git python3 python3Packages.lxml
glslang spirv-tools x11 libxcb
glslang spirv-tools x11 libxcb wayland
];
cmakeFlags = [
"-DBUILD_WSI_WAYLAND_SUPPORT=ON" # XLIB/XCB supported by default
];
installPhase = ''
mkdir -p $out/lib
mkdir -p $out/bin