Skip to content

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

Merged
23Skidoo merged 1 commit into
haskell:masterfrom
23Skidoo:sandbox-dist-builddir
May 5, 2013
Merged

23Skidoo merged 1 commit into
haskell:masterfrom
23Skidoo:sandbox-dist-builddir

Conversation

@23Skidoo

@23Skidoo 23Skidoo commented May 4, 2013

Copy link
Copy Markdown
Member

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

tibbe commented May 5, 2013

Copy link
Copy Markdown
Contributor

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