diff options
author | Shamrock Lee <44064051+ShamrockLee@users.noreply.github.com> | 2021-10-04 03:16:35 +0800 |
---|---|---|
committer | Shamrock Lee <44064051+ShamrockLee@users.noreply.github.com> | 2021-10-08 22:29:47 +0800 |
commit | 3c024373c16f5f677b79808ea1d5116c8caf6e9d (patch) | |
tree | e2744626b70165721fd49badaa570318b06dab7c /pkgs/development/libraries/netcdf | |
parent | 72a43411299409918f0482d69625169ea99e1d2c (diff) |
netcdf: prettify
Diffstat (limited to 'pkgs/development/libraries/netcdf')
-rw-r--r-- | pkgs/development/libraries/netcdf/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/libraries/netcdf/default.nix b/pkgs/development/libraries/netcdf/default.nix index d24078b91a270..711097757220b 100644 --- a/pkgs/development/libraries/netcdf/default.nix +++ b/pkgs/development/libraries/netcdf/default.nix @@ -8,8 +8,7 @@ }: let - mpiSupport = hdf5.mpiSupport; - mpi = hdf5.mpi; + inherit (hdf5) mpiSupport mpi; in stdenv.mkDerivation rec { pname = "netcdf"; version = "4.8.0"; # Remove patch mentioned below on upgrade @@ -44,8 +43,7 @@ in stdenv.mkDerivation rec { buildInputs = [ hdf5 curl mpi ]; passthru = { - mpiSupport = mpiSupport; - inherit mpi; + inherit mpiSupport mpi; }; configureFlags = [ |