-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Revert "http-parser: Broken on Pure Darwin" #17609
Conversation
This reverts commit ea14f5c.
@the-kenny, thanks for your PR! By analyzing the annotation information on this pull request, we identified @dezgeg, @shlevy and @edolstra to be potential reviewers |
Yes, I guess that has to be done in case someone doesn't know how to fix the build to be pure. (Or maybe @copumpkin would know a third way to solve this). Though I think on top on that you should add |
Hmm, pure-darwin is a branch name that hasn't been in use in months. Perhaps it actually works nowadays? |
It's not building in Hydra: http://hydra.nixos.org/build/38320273/nixlog/1/raw |
I agree that we should not build it on Hydra. Will add that line tomorrow. |
Anyone having any doubts against merging this? If not I'd go for it. |
Hey @the-kenny and @dezgeg. I'm hesitant to make a patch like this as I don't seem to grasp all implications of patching gyp on Darwin like that. What are your thoughts? I really would like to get rust building on Darwin again :)
|
Is just removing the exception enough? There is also a patch applied (cc @shlevy @svanderburg). |
Motivation for this change
The reverted commit prevents evaluation of
http-parser
on Darwin because it doesn't work onpure-darwin
. While it looks like a good idea to disable this, it prevents the wholenode
as well as the wholerust
infrastructure from evaluating on Darwin, even if people don't usepure-darwin
.Things done
(nix.useChroot on NixOS,
or option
build-use-chroot
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)