diff --git a/pkgs/tools/misc/hdf5/1.10.nix b/pkgs/tools/misc/hdf5/1.10.nix index dda8fd3a8fa4..5e9c99e5d939 100644 --- a/pkgs/tools/misc/hdf5/1.10.nix +++ b/pkgs/tools/misc/hdf5/1.10.nix @@ -2,6 +2,7 @@ , stdenv , fetchurl , removeReferencesTo +, cppSupport ? true , zlibSupport ? true , zlib , enableShared ? !stdenv.hostPlatform.isStatic @@ -28,7 +29,8 @@ stdenv.mkDerivation rec { propagatedBuildInputs = optional zlibSupport zlib; configureFlags = optional enableShared "--enable-shared" - ++ optional javaSupport "--enable-java"; + ++ optional javaSupport "--enable-java" + ++ optional cppSupport "--enable-cxx"; patches = [ ];