From 731f0e06b130d4f037689b5e025c203539fb33c5 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Sat, 19 Jan 2019 11:38:02 +0000 Subject: [PATCH] shaderc: Turn buildInputs to nativeBuildInputs These are all build-time only native dependencies --- pkgs/development/compilers/shaderc/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/shaderc/default.nix b/pkgs/development/compilers/shaderc/default.nix index d56d939a0e0..c6826e8ccfe 100644 --- a/pkgs/development/compilers/shaderc/default.nix +++ b/pkgs/development/compilers/shaderc/default.nix @@ -42,7 +42,7 @@ in stdenv.mkDerivation rec { ln -s ${spirv-headers} third_party/spirv-tools/external/spirv-headers ''; - buildInputs = [ cmake python ]; + nativeBuildInputs = [ cmake python ]; postInstall = '' moveToOutput "lib/*.a" $static @@ -50,6 +50,8 @@ in stdenv.mkDerivation rec { preConfigure = ''cmakeFlags="$cmakeFlags -DCMAKE_INSTALL_BINDIR=$bin/bin"''; + enableParallelBuilding = true; + cmakeFlags = [ "-DSHADERC_SKIP_TESTS=ON" ]; meta = with stdenv.lib; {