-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl: fix ipv6 detection compile error in configure script #277471
Conversation
@ofborg eval |
https://github.com/curl/curl/commit/ae75db3527461248b0a7b1686df52200d28d83b9.patch Would pulling this patch be sufficient? I see the checked in patch only changes |
there is not a additionally, after looking around the pkg to answer your question, i noticed that the curl package can not use nixpkgs/pkgs/tools/networking/curl/default.nix Lines 41 to 44 in 84563fc
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two great reasons this is written the way that it is.
Successfully created backport PR for |
Ensure that `OBJC_DISABLE_INITIALIZE_FORK_SAFETY=yes` is set when starting the Nix daemon during tests, or the fetchurl.sh test will crash trying to initialize libcurl. This is happening since IPv6 support was enabled in NixOS#277471. See also: - http://sealiesoftware.com/blog/archive/2017/6/5/Objective-C_and_fork_in_macOS_1013.html - NixOS/nix#2674
Ensure that `OBJC_DISABLE_INITIALIZE_FORK_SAFETY=yes` is set when starting the Nix daemon during tests, or the fetchurl.sh test will crash trying to initialize libcurl. This is happening since IPv6 support was enabled in #277471. See also: - http://sealiesoftware.com/blog/archive/2017/6/5/Objective-C_and_fork_in_macOS_1013.html - NixOS/nix#2674 (cherry picked from commit 8dd78e6)
fixes #276961
add patch to fix compile error in ipv6 detection in configure script.
PR submitted upstream as: curl/curl#12607 and merged as curl/curl@ae75db3
vendored patch is required because the source we use comes with a generated
configure
script, which also needs to be patched.supersedes #277078
Description of changes
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)@shyim
Add a 👍 reaction to pull requests you find important.