Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use partial SHA1 instead of full platform name and Cabal version on Windows #1027
I've had problems using Stack with our project on Windows. The issue was that when installing dependencies (in particular, aeson-pretty-0.7.2), Stack failed to compile Paths_aeson_pretty module because full path to intermediate files exceeded Windows 260 characters limit.
This pull request makes build artifacts path shorter by replacing "platform/cabal" part of it with first 8 characters of Base16-encoded SHA1 of it. In my case, this helped to get aeson-pretty succesfully installed.
This has two downsides:
This is still probably a good move, but would you mind emailing the Stack
On Tue, Sep 22, 2015, 2:30 PM Anton Dessiatov firstname.lastname@example.org