openxr-loader: build tests for hello_xr

This commit is contained in:
Atemu 2022-06-11 22:24:42 +02:00
parent e0169d7a9d
commit 54c95acb8a

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, python3, libX11, libXxf86vm, libXrandr, vulkan-headers, libGL }:
{ lib, stdenv, fetchFromGitHub, cmake, python3, libX11, libXxf86vm, libXrandr, vulkan-headers, libGL, vulkan-loader }:
stdenv.mkDerivation rec {
pname = "openxr-loader";
@ -12,9 +12,9 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake python3 ];
buildInputs = [ libX11 libXxf86vm libXrandr vulkan-headers libGL ];
buildInputs = [ libX11 libXxf86vm libXrandr vulkan-headers libGL vulkan-loader ];
cmakeFlags = [ "-DBUILD_TESTS=OFF" ];
cmakeFlags = [ "-DBUILD_TESTS=ON" ];
outputs = [ "out" "dev" "layers" ];