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
Unexpected re-builds with a dependency on GitHub's Win32 #2960
This issue is Windows-only. I'm also not sure if it's expected behaviour, so I apologize beforehand if I should've just RTFM.
I'm building a project (https://github.com/egor-tensin/windows-env) with a dependency on a specific package version from GitHub. This package (
This version is basically identical to Stackage's, except for the bugfix. A few of my package's dependencies also depend on
Steps to reproduce
Many of package's dependencies are re-built.
Method of installation
The output from the second
I should've probably mentioned that some of my dependencies disallow the fixed
Having the same trouble with git-annex, also due to overriding the win32 location. My stack builds are taking half an hour or more due to this problem, rather than a few seconds.
I noticed that Cabal is amoung the packages stack rebuilds every time, because it depends on win32. Suspect that being a dep of Cabal might be what makes this special.
And here's the resulting "incremental" build mess:
stack build -j 1 --stack-yaml stack-windows.yaml --no-haddock --dependencies-only
@joeyh Which version of stack is that with? Can you please try with the master version of stack
If this is an issue for development, not CI, then it is often helpful to use