-
Notifications
You must be signed in to change notification settings - Fork 841
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
Please don't recommend people disable SIP #1799
Comments
I also note that you suggest it in the official documentation above where you recommend people install with Homebrew: http://docs.haskellstack.org/en/stable/install_and_upgrade.html#mac-os-x so you can probably see our concern. |
Hi! Yes, it's rather unfortunate. OS X has made a behavior change that puts us in a tight spot. Stack delegates much of the actual build out to the Stack is intended to provide reproducible builds, and as a result of various constraints, that also specifies a specific version of Please wait a bit on removing stack from brew, we can investigate whether there is some hack we can implement to resolve this. I think it would look like putting some executable named |
Thanks for investigating this. Do you have a timescale we can consider here? Thanks! |
@borsboom @snoyberg @chrisdone Thoughts on timescale? I could try looking into this, but I don't personally own a mac and I'm probably missing the requisite mac-foo I've marked this issue "help wanted" - perhaps some of our mac users can help? |
@mgsloan thanks for explaining this.
So does this the latest version of Cabal doesn't have this issue? I have started a discussion in the libraries mailing list asking if the guys there can solve this in Cabal. If they have already fixed it I should apologize and leave them alone :-) |
I think this may be happening at the GHC level as well. Fundamentally, Stack is still useful with SIP enabled, and the FAQ doesn't recommend that all users disable it. It's only a workaround needed for two specific cases: using an old GHC version (7.8.4) that doesn't work at all with SIP enabled, or when you need to use DYLD_LIBRARY_PATH. We may be able to work around the latter, but I think we would continue to suggest disabling SIP as the only option for the former (old GHC version). |
I'd rather you added some far more dramatic caveats to that effect and removed it from the installation instructions part of your documentation, if that's 🆒. |
@MikeMcQuaid In 859b78d, I've adjusted the wording, added more severe warnings, and removed the actual instructions (just linking to another article with instructions). How's that look now? |
@borsboom That looks great. Could you also consider tweaking http://docs.haskellstack.org/en/stable/install_and_upgrade.html#mac-os-x ? |
I did tweak it by removing any mention of SIP there, but still pointing to the FAQ entries. A reasonable number of people do still try to use GHC 7.8.4, so I at least want to point people to the FAQ for that case to avoid confusion. |
@borsboom Great, thanks. Mind putting those points under |
Why do you think people who install Stack via homebrew wouldn't use GHC 7.8.4? For example, if anyone tries to build a project using a Stackage LTS 1 or 2 snapshot, they will use GHC 7.8.4. |
@borsboom |
The haskell-stack bottle doesn't depend on |
Ok, I see. I still think it would be preferable to put that stuff below rather than above the installation instructions but I don't feel really strongly about it. Thanks! |
That's great, thanks. |
https://github.com/commercialhaskell/stack/blob/master/doc/faq.md#why-is-dyld_library_path-ignored
Homebrew (a popular OS X package manager) packages Stack but don't want to have our users recommended to disable SIP. Would you consider removing the instructions/recommendation to disable SIP from your FAQ? Unfortunately if not we may need to remove Stack.
Thanks!
The text was updated successfully, but these errors were encountered: