Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build-type: configure configure script isn't passed the GHC exe set with -w to be used #7452

Open
adamse opened this issue Jun 21, 2021 · 0 comments

Comments

@adamse
Copy link
Contributor

adamse commented Jun 21, 2021

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'
...
@jneira jneira changed the title build-type: configure configure script isn't passed the GHC exe to be used build-type: configure configure script isn't passed the GHC exe set with -w to be used Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants