shaderc: Turn buildInputs to nativeBuildInputs

These are all build-time only native dependencies
This commit is contained in:
adisbladis
2019-01-19 11:38:02 +00:00
parent 1d55e50fe4
commit 731f0e06b1

View File

@@ -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; {