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
This honestly wouldn't be a problem except that the sheer nesting depth is causing node.js/ghcjs to fail at compiling ghcjs-dom. It'd be nice if ghc-paths and others depended on STACK-ROOT, or were at least somehow variable.
The text was updated successfully, but these errors were encountered:
Agreed. I think the GHC paths were set where they are to be "friendly" to the Windows way of doing things, but it ends up with really long paths which are so troublesome. There should at least be a way to change it. You might try changing the LOCALAPPDATA environment and see if that helps, but I don't think that's a great workaround (since lots of other things use that variable as well). A pull request would be welcome (the relevant code is here). Making the location configurable in STACK_ROOT\config.yaml is probably the right way to go (rather than use an environment variable).
Just use $STACK_ROOT/programs, like on other platforms. This enables the
directory to be configurable by setting $STACK_ROOT, and it removes the
hard-coded path. When downloading GHC, the archive is downloaded to this
directory as well before extraction. (This was the case anyway.) This is
perhaps less idiomatic, but $STACK_ROOT exists on Windows regardless, so
it seems better to keep everything in one place.
Fixescommercialhaskell#1644.
Just use $STACK_ROOT/programs, like on other platforms. This enables the
directory to be configurable by setting $STACK_ROOT, and it removes the
hard-coded path. When downloading GHC, the archive is downloaded to this
directory as well before extraction. (This was the case anyway.) This is
perhaps less idiomatic, but $STACK_ROOT exists on Windows regardless, so
it seems better to keep everything in one place.
Fixescommercialhaskell#1644.
This honestly wouldn't be a problem except that the sheer nesting depth is causing node.js/ghcjs to fail at compiling ghcjs-dom. It'd be nice if ghc-paths and others depended on STACK-ROOT, or were at least somehow variable.
The text was updated successfully, but these errors were encountered: