cabal-install local profiling settings do not override global settings #7314
Labels
cabal-install: cmd/build
re: config-file
Concerning the cabal configuration file and the `--config-file` option
re: options
Concerning command-line options
type: bug
The following problem exists in
cabal-2.4
tocabal-3.4
.In
$HOME/.cabal/config
I haveWhen compiling with
cabal v2-build
I cannot disable profiling locally, neither using command-line option--disable-library-profiling
nor incabal.project.local
withlibrary-profiling: False
. It's just ignored andcabal
continues building the profiled version. It does not harm, but increases build time considerably and sometimes I just want a quick build without profiling. Ok, there is an instance where it harms: When I want to buildghc-vis
it says that it cannot be build with profiling and I should disable it using--disable-library-profiling
, although that's precisely what I did.The text was updated successfully, but these errors were encountered: