-
Notifications
You must be signed in to change notification settings - Fork 701
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
"Magic" behavior when cabal exec
is used with with-compiler:
#10196
Comments
cabal exec
is used with with-compiler:
cabal exec
is used with with-compiler:
Yes, it's documented:
|
|
Isn't the principled way to do this a |
Thanks @hasufell.
|
Describe the magic behavior
When you set
with-compiler: ghc-x.y.z
incabal.project
then:cabal exec ghc
refers toghc-x.y.z
cabal exec which ghc
does not return the path toghc-x.y.z
On the surface this seems like magic behavior.
cabal-doctest
, I need to determine which GHC executable is used bycabal
. Any other ideas how I could achieve this?To Reproduce
System information
The text was updated successfully, but these errors were encountered: