summary refs log tree commit diff
path: root/pkgs/top-level/static.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-10-15 12:55:16 -0400
committerGitHub <noreply@github.com>2019-10-15 12:55:16 -0400
commit6a87355211a353dfa5c1b728a466293273e83fa0 (patch)
tree41c16e548e0b50a47d4a2886025ab25d4def399b /pkgs/top-level/static.nix
parent37744d2c3638f785813726c0c433f9a6260520d4 (diff)
parent47a3b73b7fe2da26f748ae53a1e1476a1bfc358b (diff)
downloadnixpkgs-6a87355211a353dfa5c1b728a466293273e83fa0.tar
nixpkgs-6a87355211a353dfa5c1b728a466293273e83fa0.tar.gz
nixpkgs-6a87355211a353dfa5c1b728a466293273e83fa0.tar.bz2
nixpkgs-6a87355211a353dfa5c1b728a466293273e83fa0.tar.lz
nixpkgs-6a87355211a353dfa5c1b728a466293273e83fa0.tar.xz
nixpkgs-6a87355211a353dfa5c1b728a466293273e83fa0.tar.zst
nixpkgs-6a87355211a353dfa5c1b728a466293273e83fa0.zip
Merge branch 'master' into libressl-static
Diffstat (limited to 'pkgs/top-level/static.nix')
-rw-r--r--pkgs/top-level/static.nix28
1 files changed, 25 insertions, 3 deletions
diff --git a/pkgs/top-level/static.nix b/pkgs/top-level/static.nix
index 706c64c2e35..d1708096032 100644
--- a/pkgs/top-level/static.nix
+++ b/pkgs/top-level/static.nix
@@ -69,6 +69,10 @@ in {
       haskellStaticAdapter;
   };
 
+  nghttp2 = super.nghttp2.override {
+    enableApp = false;
+  };
+
   ncurses = super.ncurses.override {
     enableStatic = true;
   };
@@ -78,14 +82,14 @@ in {
   } // optionalAttrs super.stdenv.hostPlatform.isDarwin {
     pythonSupport = false;
   });
-  zlib = super.zlib.override {
+  zlib = (super.zlib.override {
     static = true;
     shared = false;
 
     # Don’t use new stdenv zlib because
     # it doesn’t like the --disable-shared flag
     stdenv = super.stdenv;
-  };
+  }).static;
   xz = super.xz.override {
     enableStatic = true;
   };
@@ -95,6 +99,9 @@ in {
   libiberty = super.libiberty.override {
     staticBuild = true;
   };
+  libpfm = super.libpfm.override {
+    enableShared = false;
+  };
   ipmitool = super.ipmitool.override {
     static = true;
   };
@@ -112,7 +119,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
@@ -122,6 +131,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 +172,15 @@ 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;
+  };
+
   llvmPackages_8 = super.llvmPackages_8 // {
     libraries = super.llvmPackages_8.libraries // rec {
       libcxxabi = super.llvmPackages_8.libraries.libcxxabi.override {