netcdffortran: fix build with gfortran 10

This commit is contained in:
Ryan Burns 2021-12-05 16:10:51 -08:00
parent 1f776fb0cc
commit cba2328ca4

View File

@ -15,6 +15,9 @@ stdenv.mkDerivation rec {
++ lib.optional stdenv.isDarwin CoreFoundation;
doCheck = true;
FFLAGS = [ "-std=legacy" ];
FCFLAGS = [ "-std=legacy" ];
meta = with lib; {
description = "Fortran API to manipulate netcdf files";
homepage = "https://www.unidata.ucar.edu/software/netcdf/";