With the resolver set to resolver: nightly-2018-03-01, a package depending on hakyll always rebuilds haddock-library, pandoc, pandoc-citeproc and hakyll. This does not happen if I set the resolver to resolver: lts-10.7. The rebuilds cause significant slowdowns.
Both pandoc and pandoc-citeproc seem to be extra-deps of hakyll. Maybe this is related?
Steps to reproduce
- In
stack.yaml, set resolver: nightly-2018-03-01.
- Run command
stack build.
- Run command
stack build again.
package.yaml:
name: repro
dependencies:
- base >= 4.7 && < 5
- hakyll
library:
source-dirs: src
Expected
The second stack build should not build anything again.
Actual
haddock-library, pandoc, pandoc-citeproc and hakyll are rebuilt.
Output of the second stack build --verbose: https://gist.github.com/st3ll1s/3ef40d7d3e5513a31ef031bab129deff
Stack version
root@9aa4322411fe ~# stack --version
Version 1.6.5, Git revision 24ab0d6ff07f28276e082c3ce74dfdeb1a2ca9e9 (5514 commits) x86_64 hpack-0.20.0
Method of installation
curl -sSL https://get.haskellstack.org/ | sh
With the resolver set to
resolver: nightly-2018-03-01, a package depending onhakyllalways rebuildshaddock-library,pandoc,pandoc-citeprocandhakyll. This does not happen if I set the resolver toresolver: lts-10.7. The rebuilds cause significant slowdowns.Both
pandocandpandoc-citeprocseem to beextra-depsof hakyll. Maybe this is related?Steps to reproduce
stack.yaml, setresolver: nightly-2018-03-01.stack build.stack buildagain.package.yaml:Expected
The second
stack buildshould not build anything again.Actual
haddock-library,pandoc,pandoc-citeprocandhakyllare rebuilt.Output of the second
stack build --verbose: https://gist.github.com/st3ll1s/3ef40d7d3e5513a31ef031bab129deffStack version
Method of installation
curl -sSL https://get.haskellstack.org/ | sh