New `ghcup compile hls` fails in windows due to the long path issue
D:\ws\haskell\hls>ghcup compile hls -g 682386d1c97ff98463f2cac260a8fe7aab099ebd
-o new-shake --set --cabal-project cabal-ghc901.project --cabal-project-local D:
\ws\haskell\hls\cabal.project.local 8.6.5
...........
Error fatal: no se puede crear C:\\TEMP\\ghcup-a4db3c6822b5faf1\\dist-newstyle\\
build\\x86_64-windows\\ghc-8.6.5\\haskell-language-server-1.4.0.0\\x\\haskell-la
nguage-server-wrapper\\build\\haskell-language-server-wrapper\\haskell-language-
server-wrapper-tmp\\Paths_haskell_language_server.o: No such file or directory
`gcc.exe' failed in phase `Assembler'. (Exit code: 1)
I've checked the build is succesful for paths as long as D:\ws\haskell\hls-db3
so making the hash short (C:\TEMP\ghcup-a4db3c
) maybe would work
It didnt fail with ghcup-1.7.0, which used cabal install
instead cabal build