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
2022-06-02 22:53:41 +02:00
parent de7510053c
commit aa9f72b92b
+2 -2
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