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

cabal new-configure dumps redundant settings into cabal.project.local file #5139

Closed
hvr opened this issue Feb 12, 2018 · 0 comments
Closed

Comments

@hvr
Copy link
Member

hvr commented Feb 12, 2018

Running cabal new-configure w/o any flags currently writes a cabal.project.local containing the following entries (rather than being empty):

solver: modular
doc-index-file: $datadir/doc/$arch-$os-$compiler/index.html
max-backjumps: 2000
reorder-goals: False
count-conflicts: True
independent-goals: False
strong-flags: False
allow-boot-library-installs: False
remote-build-reporting: none
report-planning-failure: False
per-component: True
one-shot: False
keep-going: False
offline: False
documentation: False
haddock-keep-temp-files: False
haddock-hoogle: False
haddock-html: False
haddock-executables: False
haddock-tests: False
haddock-benchmarks: False
haddock-foreign-libraries: False
haddock-internal: False
haddock-hyperlink-source: False

This is a regression caused by the default flag injection into CLI flags, confusing cabal new-configure into thinking that the flags above were set explicitly via the CLI.

This will be resolved by #4886

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

No branches or pull requests

1 participant