mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
netcdf: Make mpi build optional
This commit is contained in:
parent
d9c222c814
commit
a5a5805ce0
1 changed files with 11 additions and 9 deletions
|
@ -46,15 +46,17 @@ stdenv.mkDerivation rec {
|
|||
libxml2 # xml2-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
curl
|
||||
hdf5
|
||||
libxml2
|
||||
mpi
|
||||
bzip2
|
||||
libzip
|
||||
zstd
|
||||
] ++ lib.optional szipSupport szip;
|
||||
buildInputs =
|
||||
[
|
||||
curl
|
||||
hdf5
|
||||
libxml2
|
||||
bzip2
|
||||
libzip
|
||||
zstd
|
||||
]
|
||||
++ lib.optional szipSupport szip
|
||||
++ lib.optional mpiSupport mpi;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue