-
Notifications
You must be signed in to change notification settings - Fork 707
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
Is ~/.cabal/config supposed to be used when exists, in the absence of envvars and XDG folder? #10713
Comments
Folks, what's needed to make progress on this issue? Could you please decide what is the expected behavior? Is it a bug in documentation or a bug in implementation? |
The existence of the Lines 63 to 67 in ed1e4d7
|
This backwards compatibility logic is pretty convoluted. Maybe it is better to start removing it. |
@athas so you are saying that in the passage I quoted |
cabal/doc/config.rst
Lines 80 to 86 in ed1e4d7
The documentation means that unless
--config-file
/$CABAL_DIR
/$CABAL_CONFIG
are set explicitly,~/.cabal/config
won't ever be used even if it exists and~/.config/cabal
does not. Yet, reading https://github.com/haskell/cabal/blob/master/cabal-install/src/Distribution/Client/Config.hs, I believe this is untrue. Could it please be reconciled?Cf. haskell-CI/haskell-ci#655
The text was updated successfully, but these errors were encountered: