-
Notifications
You must be signed in to change notification settings - Fork 847
Description
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, setresolver: nightly-2018-03-01. - Run command
stack build. - Run command
stack buildagain.
package.yaml:
name: repro
dependencies:
- base >= 4.7 && < 5
- hakyll
library:
source-dirs: srcExpected
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