Repository navigation
Get 'builddir' from cabal.config or CABAL_BUILDDIR - #2608
Merged
Merged
Conversation
Contributor
|
Just tried this and it seems to work for me. Good stuff! |
Member
|
Travis says that it fails on 7.4.2: Looks like you need to move |
Member
Author
|
Oh, rats, I forgot we can't use |
ttuegel
force-pushed
the
builddir-config-2484
branch
3 times, most recently
from
May 25, 2015 00:12
46e4fb9 to
8a7ab1f
Compare
Member
|
LGTM except the loading-the-config-twice bit. |
ttuegel
force-pushed
the
builddir-config-2484
branch
3 times, most recently
from
June 26, 2015 22:44
cf2353f to
cfbacab
Compare
Member
Author
|
This needs extra testing on Windows because I had to pull in some platform-specific stuff from |
ttuegel
force-pushed
the
builddir-config-2484
branch
2 times, most recently
from
June 27, 2015 02:34
e147e67 to
15bf2b4
Compare
Fixes haskell#2484. The 'builddir' option may now be specified in cabal.config as well. It will also be read from the CABAL_BUILDDIR environment variable, if set. The order of precedence (highest to lowest) is: 1. --builddir command line option 2. CABAL_BUILDDIR environment variable 3. cabal.config setting
ttuegel
force-pushed
the
builddir-config-2484
branch
2 times, most recently
from
June 27, 2015 21:16
9632dee to
cd506bc
Compare
ttuegel
force-pushed
the
builddir-config-2484
branch
from
June 29, 2015 11:36
1a62c6f to
80940e2
Compare
ttuegel
added a commit
that referenced
this pull request
Jun 29, 2015
Get 'builddir' from cabal.config or CABAL_BUILDDIR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2484. The 'builddir' option may now be specified in cabal.config
as well. It will also be read from the CABAL_BUILDDIR environment
variable, if set. The order of precedence (highest to lowest) is:
I've been using this myself for about a week and everything works as intended.