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

Report `dist` path as `HASKELL_DIST_DIR` env variable #524

Merged
merged 1 commit into from Jul 6, 2015

Conversation

@jdnavarro
Copy link
Contributor

@jdnavarro jdnavarro commented Jul 6, 2015

This is my naive attempt to make the dist path available for cases like running doctest. See https://groups.google.com/forum/#!topic/haskell-stack/OoP88_VckhY.

I tried to imitate how the other env variables are set without fully understanding what the consequences may be. Testing it manually works as I would expect.

snoyberg added a commit that referenced this pull request Jul 6, 2015
Report `dist` path as `HASKELL_DIST_DIR` env variable
@snoyberg snoyberg merged commit aa6c55b into commercialhaskell:master Jul 6, 2015
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@snoyberg
Copy link
Contributor

@snoyberg snoyberg commented Jul 6, 2015

Thanks!

snoyberg added a commit that referenced this pull request Jul 6, 2015
@Blaisorblade
Copy link
Collaborator

@Blaisorblade Blaisorblade commented Aug 7, 2016

For reference: haskell/cabal#3483 is about adding the same interface to cabal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants