shaderc: Turn buildInputs to nativeBuildInputs
These are all build-time only native dependencies
This commit is contained in:
parent
1d55e50fe4
commit
731f0e06b1
@ -42,7 +42,7 @@ in stdenv.mkDerivation rec {
|
|||||||
ln -s ${spirv-headers} third_party/spirv-tools/external/spirv-headers
|
ln -s ${spirv-headers} third_party/spirv-tools/external/spirv-headers
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ cmake python ];
|
nativeBuildInputs = [ cmake python ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
moveToOutput "lib/*.a" $static
|
moveToOutput "lib/*.a" $static
|
||||||
@ -50,6 +50,8 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preConfigure = ''cmakeFlags="$cmakeFlags -DCMAKE_INSTALL_BINDIR=$bin/bin"'';
|
preConfigure = ''cmakeFlags="$cmakeFlags -DCMAKE_INSTALL_BINDIR=$bin/bin"'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
cmakeFlags = [ "-DSHADERC_SKIP_TESTS=ON" ];
|
cmakeFlags = [ "-DSHADERC_SKIP_TESTS=ON" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user