rPackages.Rhdf5lib: enable c++ bindings

This commit is contained in:
Justin Bedo 2024-03-29 09:30:52 +11:00
parent 0b17d13eb2
commit ec2c82fa16
No known key found for this signature in database
GPG Key ID: 2C18202C56C182BD

View File

@ -1432,10 +1432,12 @@ let
buildInputs = attrs.buildInputs ++ [ opencvGtk ];
});
Rhdf5lib = old.Rhdf5lib.overrideAttrs (attrs: {
propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ pkgs.hdf5_1_10.dev pkgs.libaec ];
Rhdf5lib = let
hdf5 = pkgs.hdf5_1_10.overrideAttrs (attrs: {configureFlags = attrs.configureFlags ++ [ "--enable-cxx" ];});
in old.Rhdf5lib.overrideAttrs (attrs: {
propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ hdf5.dev pkgs.libaec ];
patches = [ ./patches/Rhdf5lib.patch ];
passthru.hdf5 = pkgs.hdf5;
passthru.hdf5 = hdf5;
});
rhdf5filters = old.rhdf5filters.overrideAttrs (attrs: {