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, { 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"; assert stdenv.system == "x86_64-linux";
@ -15,7 +15,11 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ cmake pkgconfig git python3 python3Packages.lxml 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 = '' installPhase = ''