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

Projects
None yet
3 participants
@jdnavarro
Contributor

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

Merge pull request #524 from jdnavarro/master
Report `dist` path as `HASKELL_DIST_DIR` env variable

@snoyberg snoyberg merged commit aa6c55b into commercialhaskell:master Jul 6, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@snoyberg

This comment has been minimized.

Contributor

snoyberg commented Jul 6, 2015

Thanks!

snoyberg added a commit that referenced this pull request Jul 6, 2015

@Blaisorblade

This comment has been minimized.

Collaborator

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