netcdfcxx4: fix linking on Darwin

This commit is contained in:
Renaud 2019-10-18 19:33:16 +02:00 committed by Luke Granger-Brown
parent 56858c2b92
commit dfe5071b82

View File

@ -8,6 +8,10 @@ stdenv.mkDerivation rec {
sha256 = "05kydd5z9iil5iv4fp7l11cicda5n5lsg5sdmsmc55xpspnsg7hr"; sha256 = "05kydd5z9iil5iv4fp7l11cicda5n5lsg5sdmsmc55xpspnsg7hr";
}; };
configureFlags = stdenv.lib.optionals stdenv.isDarwin [
"--without-nc-config"
]; # prevent linking failure on Darwin
buildInputs = [ netcdf hdf5 curl ]; buildInputs = [ netcdf hdf5 curl ];
doCheck = true; doCheck = true;