Closed as not planned
Description
Describe the bug
The cabal user-config
setting builddir
has no effect on the location of the output files. The command line option --builddir=
works as expected.
To Reproduce
Steps to reproduce the behavior:
$ cabal --version
cabal-install version 3.10.1.0
compiled using version 3.10.1.0 of the Cabal library
$ cabal user-config diff
+ builddir: /Users/mbrown/.cabal/dist/build
$ cabal build
...
$ ls
...
dist-newstyle/
...
Expected behavior
The artifacts should not have shown up in the project directory, but rather in the directory specified in the config file.
System information
- Operating system: macOS Ventura
ghc-9.2.7
Additional context
Persists after removing the build folder, with quotes around the file path, with environment variables...