opencv4: disable hdf5 for cross-compilation

This gets us as far as building opencv, but it doesn't completely build yet

(cherry picked from commit aa9f72b92b)
This commit is contained in:
Rick van Schijndel
2021-08-23 21:50:33 +02:00
committed by github-actions[bot]
parent ae39e1e3b6
commit a215825528

View File

@@ -244,9 +244,9 @@ stdenv.mkDerivation {
echo '"(build info elided)"' > modules/core/version_string.inc
'';
buildInputs =
[ zlib pcre hdf5 boost gflags protobuf ]
buildInputs = [ zlib pcre boost gflags protobuf ]
++ lib.optional enablePython pythonPackages.python
++ lib.optional (stdenv.buildPlatform == stdenv.hostPlatform) hdf5
++ lib.optional enableGtk2 gtk2
++ lib.optional enableGtk3 gtk3
++ lib.optional enableVtk vtk