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

Default-generated config is a bit of a mess #6017

Open
23Skidoo opened this issue Apr 26, 2019 · 3 comments
Open

Default-generated config is a bit of a mess #6017

23Skidoo opened this issue Apr 26, 2019 · 3 comments

Comments

@23Skidoo
Copy link
Member

23Skidoo commented Apr 26, 2019

User config file generated by default is a bit of a mess rn:

$ cabal --config=cabal-config user-config init
$ cat cabal-config

E.g. there's both a compiler and a with-compiler field, write-ghc-environment-files lacks a default, there are things like exact-configuration that should be hidden, etc. Looks like this started when new-install landed.

We should also think about putting more stuff into separate sections.

@phadej
Copy link
Collaborator

phadej commented Nov 28, 2019

If nobody takes ownership (i.e. assigns to themselves) before Thursday 2019-12-05, I'll move this issue to 3.4 milestone.

@phadej
Copy link
Collaborator

phadej commented Dec 10, 2019

Remilestoning for 3.4

@phadej phadej modified the milestones: 3.2, 3.4 Dec 10, 2019
@mmhat
Copy link

mmhat commented Aug 15, 2023

I just ran into this when I tried to set the build-info field included in the default config to some value. This does not work and judging from a quick look at the code it does not accept any value.

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

4 participants