Skip to content
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

Support XDG cabal config location #92

Closed
fgaz opened this issue Apr 3, 2023 · 3 comments
Closed

Support XDG cabal config location #92

fgaz opened this issue Apr 3, 2023 · 3 comments

Comments

@fgaz
Copy link

fgaz commented Apr 3, 2023

$ cabal-plan license-report mypackage
cabal-plan: /home/fgaz/.cabal/config: withBinaryFile: does not exist (No such file or directory
@phadej
Copy link
Collaborator

phadej commented Apr 3, 2023

This is an issue in cabal-install-parsers. A link to docs describing new cabal config discovery logic would be helpful.

@fgaz
Copy link
Author

fgaz commented Apr 3, 2023

@fgaz fgaz closed this as completed Apr 3, 2023
@fgaz
Copy link
Author

fgaz commented Apr 3, 2023

Workaround: set store-dir explicitly in the cabal config file, then:

CABAL_CONFIG=~/.config/cabal/config cabal-plan license-report mypackage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants