-
Notifications
You must be signed in to change notification settings - Fork 843
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
Simple commands should work without ghc installed #4390
Comments
There's #4268 for Which commands have you encountered, then? Just the following?
|
These two sub-commands are the ones I'd personally need to work without I wonder whether a good first step to generically work around the issue is to make As a second step, the real fix should be that sub-command which don't require |
So the bug (which I have not confirmed) would be for The enhancement is for the subcommands. |
@waddlaw (who implemented this for |
Thanks @snoyberg for implementing this! Is there a way to try this feature out immediately without waiting for a new release? E.g. by running https://github.com/commercialhaskell/stack/blob/master/etc/scripts/get-stack.sh from |
You should be able to run |
I believe several
stack
sub-command likedot
andls dependencies
should work withoutghc
installed; after all, these commands do not require compiling anything.What I see instead when running
stack --no-install-ghc --skip-ghc-check dot --external
on this example project is thatstack
complains withAs can bee seen above, I was trying to work around that issue by specifying
--no-install-ghc --skip-ghc-check
, butstack
is checking forghc
nonetheless.This issue seems to be somewhat related to #4181 where even a simple
clean
tries to bootstrap all ofghc
.Background: We use the OSS Review Toolkit to inspect Haskell project dependencies without building them. Right now, we still need to provide
ghc
, wasting time & space.The text was updated successfully, but these errors were encountered: