-
Notifications
You must be signed in to change notification settings - Fork 696
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
Consider using XDG directory structure for cabal in CI #8855
Comments
Can
|
I strongly support this. |
Well, there's a simple/ish algorithm written out in https://cabal.readthedocs.io/en/3.10/config.html#directories:
But perhaps it would be handy to have such an interface to query cabal... |
Yes, indeed, otherwise each tool around |
As discussed in #8840, due to caching, our CI is probably stuck with ~/.cabal currently. It may be a good idea to wipe the cache and see where it brings us. Also, maybe it makes sense to add some diagnostics in the CI to make it more clear which setup we use (legacy or XDG).
As we’re using setup-haskell action, this is related:
cabal-store
: Use XDG directory structure for cabal 3.10? actions#210The text was updated successfully, but these errors were encountered: