openxr-loader: fix missing graphics API support

This commit is contained in:
Benjamin Saunders 2019-10-05 13:10:47 -07:00
parent 35521b42c2
commit 84b08c3ed8

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 { stdenv.mkDerivation rec {
pname = "openxr-loader"; pname = "openxr-loader";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ cmake python3 ]; nativeBuildInputs = [ cmake python3 ];
buildInputs = [ libX11 libXxf86vm libXrandr ]; buildInputs = [ libX11 libXxf86vm libXrandr vulkan-headers libGL ];
enableParallelBuilding = true; enableParallelBuilding = true;
cmakeFlags = [ "-DBUILD_TESTS=OFF" ]; cmakeFlags = [ "-DBUILD_TESTS=OFF" ];