Unverified Commit 427229d2 authored by Rafael Ieda's avatar Rafael Ieda
Browse files

netcdfcxx4: fix build with cmake4

parent a9440ea0
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  netcdf,
  hdf5,
  curl,
@@ -23,6 +24,11 @@ stdenv.mkDerivation rec {
    # This fix is included upstream, remove with next upgrade
    ./cmake-h5free.patch
    ./netcdf.patch
    (fetchpatch {
      name = "cmake-4.patch";
      url = "https://github.com/Unidata/netcdf-cxx4/commit/8455a69867a420cffa226978174bc0f99029bc8b.patch?full_index=1";
      hash = "sha256-AS2nQIXEW1iSR2LAzvTB04M+kyureJAn63+mPNoCq+0=";
    })
  ];

  preConfigure = ''