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