Open
Description
I found this surprising. I can see this behaviour with
$ cabal --version
cabal-install version 3.4.0.0
compiled using version 3.4.0.0 of the Cabal library
I confirmed the behaviour with the small cabal package in https://github.com/adamse/cabal-configure-question
Where I can see
$ cabal v2-build --verbose -w /home/adam/.ghcup/ghc/8.10.5/bin/ghc-8.10.5
...
/usr/bin/sh //home/adam/src/misc/cabal-q/configure '--with-compiler=ghc' '--prefix=/home/adam/.cabal' '--bindir=/home/adam/.cabal/bin' '--libdir=/home/adam/.cabal/lib/x86_64-linux-ghc-8.10.5/cabal-q-0.1.0.0-inplace' '--libexecdir=/home/adam/.cabal/libexec/x86_64-linux-ghc-8.10.5/cabal-q-0.1.0.0' '--datadir=/home/adam/.cabal/share/x86_64-linux-ghc-8.10.5/cabal-q-0.1.0.0' '--sysconfdir=/home/adam/.cabal/etc' 'CC=/usr/bin/gcc'
...