From 570ea1e4277dea89ed4d2297f68e861b67b7d2ba Mon Sep 17 00:00:00 2001 From: Anthony Cowley Date: Thu, 11 Apr 2019 12:59:41 -0400 Subject: [PATCH] vulkan-tools: add dependency on vulkan-headers This fixes the build on NixOS. --- pkgs/tools/graphics/vulkan-tools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/graphics/vulkan-tools/default.nix b/pkgs/tools/graphics/vulkan-tools/default.nix index 66efb936aa4c..332fa0c509d3 100644 --- a/pkgs/tools/graphics/vulkan-tools/default.nix +++ b/pkgs/tools/graphics/vulkan-tools/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, cmake, python3, vulkan-loader, +{ stdenv, fetchFromGitHub, cmake, python3, vulkan-loader, vulkan-headers, glslang, pkgconfig, xlibsWrapper, libxcb, libXrandr, wayland }: stdenv.mkDerivation rec { @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ cmake pkgconfig ]; - buildInputs = [ python3 vulkan-loader xlibsWrapper libxcb libXrandr wayland ]; + buildInputs = [ python3 vulkan-headers vulkan-loader xlibsWrapper libxcb libXrandr wayland ]; enableParallelBuilding = true; cmakeFlags = [ "-DBUILD_ICD=OFF" "-DGLSLANG_INSTALL_DIR=${glslang}" ];