-
Notifications
You must be signed in to change notification settings - Fork 4
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
Support $STACK_ROOT
environment variable
#12
Conversation
Add support of `$STACK_ROOT` environment variable to follow `stack`'s behaviour. It allows to override the Stack Root location. Ref: https://docs.haskellstack.org/en/stable/environment_variables/#stack_root
Usecase: I followed instructions on ArchWiki to improve XDG compatibility of export STACK_ROOT="$XDG_DATA_HOME"/stack But
|
Review, please. |
Thanks, sorry I seemed to completely miss this... Certainly agree it is good to support |
Was just bitten by this, am rebuilding with this patch since otherwise this tool is unusable for me (like OP, moved |
Made an AUR package for this, in particular it includes my rebased versions of the PR patches |
Okay thanks for the feedback - probably should have tried to merge this for the recent release hmm. |
Okay I fixed the recent conflicts I had introduced |
Somehow I was thinking this was only needed for WINDOWS, |
Thanks @PRESFIL - sorry this took so long. I will probably do some minor tweaks and put out 0.4.8 for this. |
LGTM! I had some other ideas about |
(Maybe you saw but I did release stack-clean-old-0.4.8) |
Add support of
$STACK_ROOT
environment variable to followstack
's behaviour.It allows to override the Stack Root location.
Ref: https://docs.haskellstack.org/en/stable/environment_variables/#stack_root