We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I followed the instructions in the readme, and stack setup worked fine. However, stack build failed during the Happy build, with
stack setup
stack build
setup: The program 'ghc' is required but it could not be found
I'm using Stack v1.0.4.3 on MacOS, without a global GHC install.
The text was updated successfully, but these errors were encountered:
Hi,
Could you try stack --no-system-ghc build (and eventually try again afterward with stack build)?
stack --no-system-ghc build
Another option could be stack --resolver ghc-7.10 setup --reinstall.
stack --resolver ghc-7.10 setup --reinstall
Sorry, something went wrong.
These didn't work, but some temporary modifications to my PATH did the trick.
PATH
For the benefit of future readers, this was the command I required:
PATH=$PATH:~/.stack/programs/x86_64-osx/ghc-7.10.3/bin/:~/.stack/snapshots/x86_64-osx/lts-5.4/7.10.3/bin stack build
Thanks!
No branches or pull requests
I followed the instructions in the readme, and
stack setup
worked fine. However,stack build
failed during the Happy build, withI'm using Stack v1.0.4.3 on MacOS, without a global GHC install.
The text was updated successfully, but these errors were encountered: