The Windows installer sets STACK_ROOT to c:\sr by default (see 
https://github.com/commercialhaskell/stack/issues/2468 
<https://github.com/commercialhaskell/stack/issues/2468>), but that behaviour 
can be disabled by unchecking a checkbox.  That's because basically nothing 
works if your STACK_ROOT is in %LOCALAPPDATA% because you end up hitting the 
path length limitations (and GHC/libraries still haven't been updated to 
support long paths in Windows).

> On Jul 20, 2017, at 10:05 PM, Michael Snoyman <michael.snoy...@gmail.com> 
> wrote:
> 
> How did you install Stack? Do you possibly have the STACK_ROOT environment 
> variable set?
> 
> 
> On Wed, Jul 19, 2017, 2:58 PM Hristo Hristov <rocc...@gmail.com 
> <mailto:rocc...@gmail.com>> wrote:
> Hello
> 
> On Windows stack is downloading stuff to the root drive C:\sr\config.yaml
> 
> Why isn't stack using %LOCALAPPDATA% or any of the appropiate Windows paths: 
> https://technet.microsoft.com/en-us/library/cc749104(v=ws.10).aspx 
> <https://technet.microsoft.com/en-us/library/cc749104(v=ws.10).aspx>
> 
> Is it possible to tell stack where to put what it downloads?
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "haskell-stack" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to haskell-stack+unsubscr...@googlegroups.com 
> <mailto:haskell-stack+unsubscr...@googlegroups.com>.
> To post to this group, send email to haskell-stack@googlegroups.com 
> <mailto:haskell-stack@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/haskell-stack/a479bb4f-3693-46b8-880c-55249fa0ba08%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/haskell-stack/a479bb4f-3693-46b8-880c-55249fa0ba08%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "haskell-stack" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to haskell-stack+unsubscr...@googlegroups.com 
> <mailto:haskell-stack+unsubscr...@googlegroups.com>.
> To post to this group, send email to haskell-stack@googlegroups.com 
> <mailto:haskell-stack@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/haskell-stack/CAKA2JgL6vZzaYnzpdUzjgQjrKz8jGz1tz8UxvaDZfphP6pxYQw%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/haskell-stack/CAKA2JgL6vZzaYnzpdUzjgQjrKz8jGz1tz8UxvaDZfphP6pxYQw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haskell-stack+unsubscr...@googlegroups.com.
To post to this group, send email to haskell-stack@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/haskell-stack/A958365D-6857-4E72-A66F-AA1C5D6BE346%40fpcomplete.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to