diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2021-01-03 21:40:14 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2021-01-03 21:46:14 +0000 |
commit | 5c2965145f322386d45db04c409fd2f8a3c3b478 (patch) | |
tree | 67c42ad4baaf5a9f52e8623310a3e381b2004cb8 /pkgs/development/libraries/cdo | |
parent | 9c9c6461ba79a6c233741760045f3b44be5924dd (diff) |
treewide: Inline more of the static overlay
Picking up where #107238 left off. I think I'll have gotten all the easy stuff with this.
Diffstat (limited to 'pkgs/development/libraries/cdo')
-rw-r--r-- | pkgs/development/libraries/cdo/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/libraries/cdo/default.nix b/pkgs/development/libraries/cdo/default.nix index f582be81e86e2..10e145b34ea28 100644 --- a/pkgs/development/libraries/cdo/default.nix +++ b/pkgs/development/libraries/cdo/default.nix @@ -1,7 +1,10 @@ { stdenv, fetchurl, curl, hdf5, netcdf -, enable_cdi_lib ? false # build, install and link to a CDI library [default=no] -, enable_all_static ? false # build a completely statically linked CDO binary [default=no] -, enable_cxx ? false # Use CXX as default compiler [default=no] +, # build, install and link to a CDI library [default=no] + enable_cdi_lib ? false +, # build a completely statically linked CDO binary + enable_all_static ? stdenv.hostPlatform.isStatic +, # Use CXX as default compiler [default=no] + enable_cxx ? false }: stdenv.mkDerivation rec { |