Closed MaximilianAlgehed closed 8 months ago
This is not a bug, but a local misconfiguration.
This project is configured to run on CI. Anything that is needed to be done differently for local development falls onto the developer. In this case it can be easily solved with cabal.project.local
:
if impl(ghc < 9.8)
program-options
ghc-options: -Wwarn
May I suggest that the right solution is to make the project easy to pick up for developers and add a ci
flag to the cabal configuration?
May I suggest that the right solution is to make the project easy to pick up for developers and add a ci flag to the cabal configuration?
I appreciate your suggestion, but no.
Developer should be aware of cabal configure
stage of the build process.
With respect to this issue, it is a workaround and the real bug is in cabal+ghc. Those warnings should not be emitted to begin with.
@lehins I don't understand your philosophy, here you don't want to work around a bug in the tools in a way that wouldn't create much of an overhead in the source code. But when it comes to langauge extensions in cabal files, the philosophy is to work around the bug in stack in a way that adds lots of overhead to all the source code?
@MaximilianAlgehed I took your suggestion into consideration and I said no. Your job is not to understand my philosophy, but to adhere to the development rules that have been established. If you have a problem with this, please let me know.
I'm just trying to understand what the rules are and why... Understanding the reasoning (if there is one) behind why things are done one way or another is the key to working effectively and improving the things that can be improved and working around the things that need to be worked around.
Apparently this is a touchy subject. Is the rationale behind decisions documented anywhere? That would make it easier to understand what's going on.
I'm unable to get a repl in
nix develop
due to a bug incabal
in combination with the-wunsed-packages
and-werror
flags onmaster
: