pkgsStatic: fix curl, boost, openssl and libsodium

Changed files
+13 -2
pkgs
development
libraries
libsodium
top-level
+1 -1
pkgs/development/libraries/libsodium/default.nix
···
};
outputs = [ "out" "dev" ];
-
separateDebugInfo = stdenv.isLinux;
enableParallelBuilding = true;
···
};
outputs = [ "out" "dev" ];
+
separateDebugInfo = stdenv.isLinux && stdenv.hostPlatform.libc != "musl";
enableParallelBuilding = true;
+12 -1
pkgs/top-level/static.nix
···
static = true;
};
openblas = super.openblas.override { enableStatic = true; };
-
openssl = super.openssl.override {
static = true;
# Don’t use new stdenv for openssl because it doesn’t like the
···
boost = super.boost.override {
enableStatic = true;
enableShared = false;
};
gmp = super.gmp.override {
withStatic = true;
···
enableShared = false;
enableStatic = true;
};
};
brotli = super.brotli.override {
···
static = true;
};
openblas = super.openblas.override { enableStatic = true; };
+
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
···
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;
···
enableShared = false;
enableStatic = true;
};
+
};
+
+
curl = super.curl.override {
+
# a very sad story: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439039
+
gssSupport = false;
};
brotli = super.brotli.override {