Closed
Description
stack path --global-stack-root
reports the root. But as far as I can see this is hard coded? There is no analog of stack --local-bin-path
or an environment variable like STACK_YAML
to control the root?
My use case is to pick between machine-local and NFS installations of stack. That is, we may have ~/.stack
necessarily as an NFS-stored directory, for machines where we don't have any local mounts. But then ones where we do, we could do something like the following
if [ -d /home.local/me/.stack ]; then
export STACK_GLOBAL_ROOT=/home.local/me/.stack
...