mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 04:25:14 +00:00
pkgsStatic.curl: fix build
904625852d
removed the overlay which
disables gss and brotli for static curl. Although we can now build them
statically, attempting to build curl against them results in 'undefined
reference' linker errors.
This commit is contained in:
parent
09f5763784
commit
42155910a0
@ -145,5 +145,7 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.curl;
|
||||
maintainers = with maintainers; [ lovek323 ];
|
||||
platforms = platforms.all;
|
||||
# Fails to link against static brotli or gss
|
||||
broken = stdenv.hostPlatform.isStatic && (brotliSupport || gssSupport);
|
||||
};
|
||||
}
|
||||
|
@ -4109,11 +4109,12 @@ with pkgs;
|
||||
ldapSupport = true;
|
||||
};
|
||||
|
||||
curl = curlMinimal.override {
|
||||
curl = curlMinimal.override ({
|
||||
idnSupport = true;
|
||||
} // lib.optionalAttrs (!stdenv.hostPlatform.isStatic) {
|
||||
gssSupport = true;
|
||||
brotliSupport = true;
|
||||
};
|
||||
});
|
||||
|
||||
curlMinimal = callPackage ../tools/networking/curl { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user