vulkan-loader: enable wayland WSI
This commit is contained in:
parent
051024a581
commit
b52e8809d6
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue