Merge pull request #70490 from Ralith/openxr-loader-fix

openxr-loader: fix missing graphics API support
This commit is contained in:
Graham Christensen 2019-10-13 18:32:08 -04:00 committed by GitHub
commit 8aaf5de4bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, python3, libX11, libXxf86vm, libXrandr }:
{ stdenv, fetchFromGitHub, cmake, python3, libX11, libXxf86vm, libXrandr, vulkan-headers, libGL }:
stdenv.mkDerivation rec {
pname = "openxr-loader";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake python3 ];
buildInputs = [ libX11 libXxf86vm libXrandr ];
buildInputs = [ libX11 libXxf86vm libXrandr vulkan-headers libGL ];
enableParallelBuilding = true;
cmakeFlags = [ "-DBUILD_TESTS=OFF" ];