hdf5-blosc: move cmake to nativeBuildInputs

master
Ben Siraphob 2021-01-23 19:33:39 +07:00
parent f6a583eeec
commit f12f79cb9f
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "plugin" ];
buildInputs = [ c-blosc cmake hdf5 ];
nativeBuildInputs = [ cmake ];
buildInputs = [ c-blosc hdf5 ];
preConfigure = ''
substituteInPlace CMakeLists.txt --replace 'set(BLOSC_INSTALL_DIR "''${CMAKE_CURRENT_BINARY_DIR}/blosc")' 'set(BLOSC_INSTALL_DIR "${c-blosc}")'