eccodes: move gfortran to nativeBuildInputs

This commit is contained in:
Markus Kowalewski 2021-09-03 13:33:32 +02:00
parent f476dcf3b3
commit 471cb111fe
No known key found for this signature in database
GPG Key ID: 502A248E3FB4FF48

View File

@ -17,13 +17,13 @@ stdenv.mkDerivation rec {
substituteInPlace cmake/FindOpenJPEG.cmake --replace openjpeg-2.1 ${openjpeg.incDir}
'';
nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ cmake gfortran ];
buildInputs = [ netcdf
openjpeg
libpng
gfortran
];
propagatedBuildInputs = optionals enablePython [
pythonPackages.python
pythonPackages.numpy