From 3a6efadba0c606c40320ff3f6e216277ffcbf196 Mon Sep 17 00:00:00 2001 From: Domen Kožar Date: Sun, 29 Sep 2019 12:01:21 +0200 Subject: pkgsStatic: fix curl, boost, openssl and libsodium --- pkgs/top-level/static.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'pkgs/top-level/static.nix') 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; }; -- cgit 1.4.1