Skip to content

Use a non-default build dir when building add-source deps. #1312

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

Merged
merged 1 commit into from
May 5, 2013

Conversation

23Skidoo
Copy link
Member

@23Skidoo 23Skidoo commented May 4, 2013

Fixes #1281.

I decided against using .cabal-sandbox/dist/$PKGID since we can have several add-source deps with a single $PKGID. Although that can probably be fixed by deleting the build dir when adding an add-source dep with an already-existing package id, there is another complication - when doing install --only-dependencies, there is no way to distinguish add-source deps (for which we want to cache the build dir under .cabal-sandbox) from regular ones (for which we likely don't).

@tibbe
Copy link
Member

tibbe commented May 5, 2013

LGTM

23Skidoo added a commit that referenced this pull request May 5, 2013
Use a non-default build dir when building add-source deps.
@23Skidoo 23Skidoo merged commit 481da5a into haskell:master May 5, 2013
@23Skidoo 23Skidoo deleted the sandbox-dist-builddir branch May 5, 2013 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

haddock: can't find a package database at <sandbox>
2 participants