opencv4: disable hdf5 for cross-compilation

This gets us as far as building opencv, but it doesn't completely build yet
This commit is contained in:
Rick van Schijndel 2021-08-23 21:50:33 +02:00
parent de7510053c
commit aa9f72b92b

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