vulkan-loader: enable wayland WSI
This commit is contained in:
parent
051024a581
commit
b52e8809d6
@ -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,9 +15,13 @@ 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 = ''
|
||||||
mkdir -p $out/lib
|
mkdir -p $out/lib
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user