mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
pythonPackages.wrf-python: Fix build (#56989)
The latest changes to support better cross-compilation compatibility
have introduced a stricter handling of dependency specification in
python. Since b4acd977
, gfortran should be put into nativeBuildInputs,
as it's a build-time only dependency for wrf-python. Similarly, mock is
only required when testing, so it should go to checkInputs.
This commit is contained in:
parent
645ac131dd
commit
36f5c0d58d
@ -16,13 +16,14 @@ buildPythonPackage rec {
|
||||
numpy
|
||||
xarray
|
||||
];
|
||||
buildInputs = [
|
||||
|
||||
nativeBuildInputs = [
|
||||
gfortran
|
||||
] ++ lib.optional (pythonOlder "3.3") mock;
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
netcdf4
|
||||
];
|
||||
] ++ lib.optional (pythonOlder "3.3") mock;
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
|
Loading…
Reference in New Issue
Block a user