diff options
author | Domen Kožar <domen@dev.si> | 2019-09-29 12:01:21 +0200 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2019-09-29 12:01:38 +0200 |
commit | 3a6efadba0c606c40320ff3f6e216277ffcbf196 (patch) | |
tree | 689473e5de51b488bbc8649f20375d90163a92ec /pkgs/top-level/static.nix | |
parent | afeea609abad5d3ac79166ad2427531fb0c2aee0 (diff) | |
download | nixlib-3a6efadba0c606c40320ff3f6e216277ffcbf196.tar nixlib-3a6efadba0c606c40320ff3f6e216277ffcbf196.tar.gz nixlib-3a6efadba0c606c40320ff3f6e216277ffcbf196.tar.bz2 nixlib-3a6efadba0c606c40320ff3f6e216277ffcbf196.tar.lz nixlib-3a6efadba0c606c40320ff3f6e216277ffcbf196.tar.xz nixlib-3a6efadba0c606c40320ff3f6e216277ffcbf196.tar.zst nixlib-3a6efadba0c606c40320ff3f6e216277ffcbf196.zip |
pkgsStatic: fix curl, boost, openssl and libsodium
Diffstat (limited to 'pkgs/top-level/static.nix')
-rw-r--r-- | pkgs/top-level/static.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/top-level/static.nix b/pkgs/top-level/static.nix index 6a311b4c9d23..f0ba6a09c0b5 100644 --- a/pkgs/top-level/static.nix +++ b/pkgs/top-level/static.nix @@ -115,7 +115,9 @@ in { static = true; }; openblas = super.openblas.override { enableStatic = true; }; - openssl = super.openssl.override { + nix = super.nix.override { withAWS = false; }; + # openssl 1.1 doesn't compile + openssl = super.openssl_1_0_2.override { static = true; # Don’t use new stdenv for openssl because it doesn’t like the @@ -125,6 +127,10 @@ in { boost = super.boost.override { enableStatic = true; enableShared = false; + + # Don’t use new stdenv for boost because it doesn’t like the + # --disable-shared flag + stdenv = super.stdenv; }; gmp = super.gmp.override { withStatic = true; @@ -159,6 +165,11 @@ in { }; }; + curl = super.curl.override { + # a very sad story: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439039 + gssSupport = false; + }; + brotli = super.brotli.override { staticOnly = true; }; |