Skip to content

Specifying --with-ghc and local dependencies does not work well #3411

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

Open
mpickering opened this issue May 7, 2016 · 1 comment
Open

Specifying --with-ghc and local dependencies does not work well #3411

mpickering opened this issue May 7, 2016 · 1 comment

Comments

@mpickering
Copy link
Collaborator

This is probably a very niche concern but if I specify --with-ghc with a relative path but also have local dependencies then the build will fail.

For example,

cabal install --with-ghc=inplace/bin/ghc-stage2 numtype-dk/ dimensional-1.0.1.1

Then cabal will cd into numtype-dk directory and no longer be able to find the compiler. If i give the full path then everything works as expected.

@23Skidoo 23Skidoo added this to the Cabal 1.26 milestone May 7, 2016
@23Skidoo
Copy link
Member

23Skidoo commented May 7, 2016

Should be easy to fix by just calling canonicalizePath directly after option parsing.

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