Skip to content

"stack setup" for GHCJS doesn't work on windows due to long paths #1145

Closed
@mgsloan

Description

@mgsloan

stack setup ought to work with GHCJS + windows now, but I'm running into issues due to long paths. In particularly, it fails during the install step with Setup.hs: does not exist, as it can't move C:\Users\Sloan\AppData\Local\Programs\stack\i386-windows\ghcjs-0.1.0.20150924_ghc-7.10.2\src\.stack-work\install\i386-windows\lts-3.6\7.10.2\lib\i386-windows-ghc-7.10.2\ghcjs-0.1.0.20150924-3v8gJrjhwSs4MId7xBHavX\libHSghcjs-0.1.0.20150924-3v8gJrjhwSs4MId7xBHavX.a to a different location.

What can we do to resolve this?

Maybe place the ghcjs source files relative STACK_ROOT? Then, if they take the suggestion to use the short one, maybe the paths will be short enough... (Though it's only C:\Users\Sloan\AppData\Local\Programs\stack\i386-windows\ vs C:\stack_root\programs...).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions