Open bgohla opened 1 month ago
Hmm it is true that the documentation says that .local should override .freeze but I don't think that is the case actually. The .freeze file is final wrt versions and flags I think.
My understanding, as I described in the other issue, is that the freeze file must be immutable and enforced, so I think the documentation should be fixed instead of making this a feature.
Describe the bug
In my project, I have a project freeze file that has flag settings for local packages set to
-some-flag
. I expect to be able to override this flag in the local project config, following the precedence order given in the documentation: https://cabal.readthedocs.io/en/stable/cabal-project-description-file.html#project-description-cabal-project-file .But when trying to build, I get a resolution conflict instead.
To Reproduce Steps to reproduce the behavior:
Expected behavior
I expect the flags specified in the local project config to override the flags in the freeze file.
System information