haskell / haskell/cabal

Why does `cabal configure` bother to create a `cabal.project.local` that only contains `ignore-project: False`?

Open
#8,411 7 comments 3 reactions 0 assignees View on GitHub
attention: pr-welcome cabal-install: cmd/configure re: --ignore-project
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

What's the point of a `cabal.project.local` that only contains `ignore-project: False`? Why does `cabal configure` bother to write it (and possibly destroying the user configuration there, #8408)?

What is the point of `ignore-project: False` in a project configuration file anyway?
(It is like sealing the message "have this letter opened" into an envelope. Either you already have opened the letter, or you haven't opened the letter in which case you do not see the message. :-))

Contributor guide

Open the contributing guide

Research direction

Start at the `cabal configure` entry point and trace why it writes `cabal.project.local` with only `ignore-project: False`. Investigate the interaction with existing user configuration, including the concern in #8408. Done means documenting the intended behavior and defining whether configuration files should be preserved or omitted.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.