summary refs log tree commit diff
path: root/pkgs/top-level/static.nix
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2019-09-29 12:01:21 +0200
committerDomen Kožar <domen@dev.si>2019-09-29 12:01:38 +0200
commit3a6efadba0c606c40320ff3f6e216277ffcbf196 (patch)
tree689473e5de51b488bbc8649f20375d90163a92ec /pkgs/top-level/static.nix
parentafeea609abad5d3ac79166ad2427531fb0c2aee0 (diff)
downloadnixpkgs-3a6efadba0c606c40320ff3f6e216277ffcbf196.tar
nixpkgs-3a6efadba0c606c40320ff3f6e216277ffcbf196.tar.gz
nixpkgs-3a6efadba0c606c40320ff3f6e216277ffcbf196.tar.bz2
nixpkgs-3a6efadba0c606c40320ff3f6e216277ffcbf196.tar.lz
nixpkgs-3a6efadba0c606c40320ff3f6e216277ffcbf196.tar.xz
nixpkgs-3a6efadba0c606c40320ff3f6e216277ffcbf196.tar.zst
nixpkgs-3a6efadba0c606c40320ff3f6e216277ffcbf196.zip
pkgsStatic: fix curl, boost, openssl and libsodium
Diffstat (limited to 'pkgs/top-level/static.nix')
-rw-r--r--pkgs/top-level/static.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/top-level/static.nix b/pkgs/top-level/static.nix
index 6a311b4c9d2..f0ba6a09c0b 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;
   };