summary refs log tree commit diff
path: root/pkgs/development/libraries/netcdf
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-22 00:00:13 +0700
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-01-21 19:11:02 -0800
commit66e44425c6dfecbea68a5d6dc221ccd56561d4f1 (patch)
tree0a5bf7d41356ad47b4e6f0a737bf16c9a4a5b01e /pkgs/development/libraries/netcdf
parent046d24424ef32cca1227519f93f41b5ec8133f31 (diff)
downloadnixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.gz
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.bz2
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.lz
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.xz
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.zst
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.zip
pkgs/development/libraries: stdenv.lib -> lib
Diffstat (limited to 'pkgs/development/libraries/netcdf')
-rw-r--r--pkgs/development/libraries/netcdf/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/netcdf/default.nix b/pkgs/development/libraries/netcdf/default.nix
index fecc4100f5e..c345f66e872 100644
--- a/pkgs/development/libraries/netcdf/default.nix
+++ b/pkgs/development/libraries/netcdf/default.nix
@@ -1,4 +1,4 @@
-{ stdenv
+{ lib, stdenv
 , fetchurl
 , hdf5
 , m4
@@ -41,7 +41,7 @@ in stdenv.mkDerivation rec {
       "--enable-shared"
       "--disable-dap-remote-tests"
   ]
-  ++ (stdenv.lib.optionals mpiSupport [ "--enable-parallel-tests" "CC=${mpi}/bin/mpicc" ]);
+  ++ (lib.optionals mpiSupport [ "--enable-parallel-tests" "CC=${mpi}/bin/mpicc" ]);
 
   disallowedReferences = [ stdenv.cc ];
 
@@ -53,7 +53,7 @@ in stdenv.mkDerivation rec {
 
   meta = {
       description = "Libraries for the Unidata network Common Data Format";
-      platforms = stdenv.lib.platforms.unix;
+      platforms = lib.platforms.unix;
       homepage = "https://www.unidata.ucar.edu/software/netcdf/";
       license = {
         url = "https://www.unidata.ucar.edu/software/netcdf/docs/copyright.html";