-
Notifications
You must be signed in to change notification settings - Fork 691
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
cabal init -n
fails when cabal
is not in $PATH
#9687
Comments
Hello! A Haskell newbie here (so my findings could be totally wrong 🥲). I've pinpointed the location of the bug to be at:
A workaround to make this command (when
One way to solve this that comes to my mind is:
Update 1 Do let me know if anyone have any better suggestions 🙂 |
Sounds good, but I'm also wondering why don't we just use defaultCabalVersion in all cases (cc @emilypi) |
Yeah that sounds fine to me. Thanks for the issue! |
Describe the bug
cabal init -n
fails whencabal
is not in$PATH
. seems like it wants to call itself?To Reproduce
Steps to reproduce the behavior:
Ensure
cabal
is not in$PATH
Expected behavior
The package is initialized
System information
cabal
3ae0488GHC
9.4.8Additional context
The text was updated successfully, but these errors were encountered: