@@ -37,8 +37,19 @@ $ rm -f stack.yaml && stack init --resolver nightly --solver
37$ stack build --resolver nightly --haddock --test --bench --no-run-benchmarks
37$ stack build --resolver nightly --haddock --test --bench --no-run-benchmarks
40+This approach works well, but has two limitations you should be aware
43+* It won't notify you of restrictive upper bounds in your package if
44+ Stackage has the same upper bounds. For that reason, we recommend
45+ using [Packdeps](http://packdeps.haskellers.com/) (see "Following
46+ dependency upgrades" below).
47+* If the latest Stackage Nightly is missing some of the latest
48+ packages, your build above may succeed whereas the Travis job may
49+ fail. Again: Packdeps will help you detect this situation.
51+Alternatively, you can build with `cabal`. Note that this may end up
40−Or, alternatively, with `cabal` (may end up using older dependency
52+using older dependency versions:
44$ ghc --version # Should be the same as the latest nightly, it's in the title of https://www.stackage.org/nightly
55$ ghc --version # Should be the same as the latest nightly, it's in the title of https://www.stackage.org/nightly