You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows, the length of filepaths may be limited (to MAX_PATH), and things can break when this limit is exceeded. Setting a Stack root with a short path to its location (for example, C:\sr) can help.
It doesn't appear to install stack, nor does it set STACK_ROOT. It also doesn't seem to use our bootstrap script anymore, so that seems like at least github won't be affected.
@hasufell, I am a little lost as to the question I might be able to help with. However: Windows does (by default; it can be removed on Windows 10 and 11) have a maximum path length; Stack tries to keep paths short on Windows (by using hashes); and Stack's binary installer for 64-bit Windows sets STACK_ROOT to C:\sr by default (see etc/scripts/build-stack-installer.hs about line 57; EDIT now documented online).
https://docs.haskellstack.org/en/stable/stack_root/
We will have to do that in: https://github.com/haskell/ghcup-hs/blob/master/scripts/bootstrap/bootstrap-haskell.ps1
The text was updated successfully, but these errors were encountered: