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 new cabal versions #73

Closed
harendra-kumar opened this issue Dec 14, 2023 · 1 comment
Closed

Support new cabal versions #73

harendra-kumar opened this issue Dec 14, 2023 · 1 comment

Comments

@harendra-kumar
Copy link
Member

harendra-kumar commented Dec 14, 2023

New version (CABALVER=3.10.2.0) writes cabal config at .config/cabal/config instead of .cabal.config.

--------------------------------------------------
[1 sec] Build tools: package level and global configuration
--------------------------------------------------
Using user specified cabal project file at [cabal.project.ci]
Using cabal command [cabal --project-file=cabal.project.ci]
Using sdist cabal command [cabal --project-file=cabal.project.ci]
Removing old cabal config [/root/.cabal/config]
rm -f /root/.cabal/config
cabal user-config init
Writing default configuration to /root/.config/cabal/config
Error: cabal config file [/root/.cabal/config] not found.

Exited with code exit status 1

This problem occurs only when CABAL_HACKAGE_MIRROR is set.

@harendra-kumar
Copy link
Member Author

Linked the old location with the new in #76 .

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

1 participant