<div dir="ltr">As a followup, a bug that may cause problems in build environments like Travis CI has been discovered: if you have a version of `git` < 1.8.2 (released in early 2013), `stack build` will fail with an error like 'fatal: error in object: unshallow 05a8ba81a30b775e3aab8269642317345708bcfa' when it tries to update the package index on first startup.  See <a href="https://github.com/commercialhaskell/stack/issues/2602">https://github.com/commercialhaskell/stack/issues/2602</a> for more details.</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Sep 16, 2016 at 7:05 AM Emanuel Borsboom <<a href="mailto:manny@fpcomplete.com">manny@fpcomplete.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>See <a href="https://haskellstack.org" target="_blank">https://haskellstack.org</a> for installation and upgrade instructions.</div><div><br></div><div>Release notes:</div><div><br></div><div>* On many Un*x systems, Stack can now be installed with a simple</div><div>  one-liner:</div><div><br></div><div>        wget -qO- <a href="https://get.haskellstack.org/" target="_blank">https://get.haskellstack.org/</a> | sh</div><div><br></div><div>* The fix for</div><div>  [#2175](<a href="https://github.com/commercialhaskell/stack/issues/2175" target="_blank">https://github.com/commercialhaskell/stack/issues/2175</a>)</div><div>  entails that stack must perform a full clone of a large Git repo of</div><div>  Hackage meta-information. The total download size is about 200 MB.</div><div>  Please be aware of this when upgrading your stack installation.</div><div><br></div><div>* If you use Mac OS X, you may want to delay upgrading to macOS Sierra as there</div><div>  are reports of GHC panics when building some packages (including Stack</div><div>  itself). See [#2577](<a href="https://github.com/commercialhaskell/stack/issues/2577" target="_blank">https://github.com/commercialhaskell/stack/issues/2577</a>)</div><div><br></div><div>* This version of Stack does not build on ARM or PowerPC systems (see</div><div>  [store#37](<a href="https://github.com/fpco/store/issues/37)" target="_blank">https://github.com/fpco/store/issues/37)</a>).  Please stay with</div><div>  version 1.1.2 for now on those architectures.  This will be rectified soon!</div><div><br></div><div>* We are now releasing a</div><div>  [statically linked Stack binary for 64-bit Linux](<a href="https://www.stackage.org/stack/linux-x86_64-static" target="_blank">https://www.stackage.org/stack/linux-x86_64-static</a>).</div><div>  Please try it and let us know if you run into any trouble on your platform.</div><div><br></div><div>* We are planning some changes to our Linux releases, including dropping our</div><div>  Ubuntu, Debian, CentOS, and Fedora package repositories and switching to</div><div>  statically linked binaries.  We would value <span style="line-height:1.5">your feedback in</span></div><div><span style="line-height:1.5">  [#2534](<a href="https://github.com/commercialhaskell/stack/issues/2534" target="_blank">https://github.com/commercialhaskell/stack/issues/2534</a>).</span></div><div><br></div><div>Major changes:</div><div><br></div><div>* Add `stack hoogle` command.</div><div>  [#55](<a href="https://github.com/commercialhaskell/stack/issues/55" target="_blank">https://github.com/commercialhaskell/stack/issues/55</a>)</div><div>* Support for absolute file path in `url` field of `setup-info` or `--ghc-bindist`</div><div>* Add support for rendering GHCi scripts targeting different GHCi like</div><div>  applications</div><div>  [#2457](<a href="https://github.com/commercialhaskell/stack/pull/2457" target="_blank">https://github.com/commercialhaskell/stack/pull/2457</a>)</div><div><br></div><div>Behavior changes:</div><div><br></div><div>* Remove `stack ide start` and `stack ide load-targets` commands.</div><div>  [#2178](<a href="https://github.com/commercialhaskell/stack/issues/2178" target="_blank">https://github.com/commercialhaskell/stack/issues/2178</a>)</div><div>* Support .buildinfo files in `stack ghci`.</div><div>  [#2242](<a href="https://github.com/commercialhaskell/stack/pull/2242" target="_blank">https://github.com/commercialhaskell/stack/pull/2242</a>)</div><div>* Support -ferror-spans syntax in GHC error messages.</div><div>* Avoid unpacking ghc to `/tmp`</div><div>  [#996](<a href="https://github.com/commercialhaskell/stack/issues/996" target="_blank">https://github.com/commercialhaskell/stack/issues/996</a>)</div><div>* The Linux `gmp4` GHC bindist is no longer considered a full-fledged GHC</div><div>  variant and can no longer be specified using the `ghc-variant` option,</div><div>  and instead is treated more like a slightly different platform.</div><div><br></div><div>Other enhancements:</div><div><br></div><div>* Use the `store` package for binary serialization of most caches.</div><div>* Only require minor version match for Docker stack exe.</div><div>  This way, we can make patch releases for version bounds and similar</div><div>  build issues without needing to upload new binaries for Docker.</div><div>* Stack/Nix: Passes the right ghc derivation as an argument to the `shell.nix` when a</div><div>  custom `shell.nix` is used</div><div>  See [#2243](<a href="https://github.com/commercialhaskell/stack/issues/2243" target="_blank">https://github.com/commercialhaskell/stack/issues/2243</a>)</div><div>* Stack/Nix: Sets `LD_LIBRARY_PATH` so packages using C libs for Template Haskell can work</div><div>  (See _e.g._ [this HaskellR issue](<a href="https://github.com/tweag/HaskellR/issues/253" target="_blank">https://github.com/tweag/HaskellR/issues/253</a>))</div><div>* Parse CLI arguments and configuration files into less permissive types,</div><div>  improving error messages for bad inputs.</div><div>  [#2267](<a href="https://github.com/commercialhaskell/stack/issues/2267" target="_blank">https://github.com/commercialhaskell/stack/issues/2267</a>)</div><div>* Add the ability to explictly specify a gcc executable.</div><div>  [#593](<a href="https://github.com/commercialhaskell/stack/issues/593" target="_blank">https://github.com/commercialhaskell/stack/issues/593</a>)</div><div>* Nix: No longer uses LTS mirroring in nixpkgs. Gives to nix-shell a derivation</div><div>  like `haskell.compiler.ghc801`</div><div>  See [#2259](<a href="https://github.com/commercialhaskell/stack/issues/2259" target="_blank">https://github.com/commercialhaskell/stack/issues/2259</a>)</div><div>* Perform some subprocesses during setup concurrently, slightly speeding up most</div><div>  commands. [#2346](<a href="https://github.com/commercialhaskell/stack/pull/2346" target="_blank">https://github.com/commercialhaskell/stack/pull/2346</a>)</div><div>* `stack setup` no longer unpacks to the system temp dir on posix systems.</div><div>  [#996](<a href="https://github.com/commercialhaskell/stack/issues/996" target="_blank">https://github.com/commercialhaskell/stack/issues/996</a>)</div><div>* `stack setup` detects libtinfo6 and ncurses6 and can download alternate GHC</div><div>  bindists [#257](<a href="https://github.com/commercialhaskell/stack/issues/257" target="_blank">https://github.com/commercialhaskell/stack/issues/257</a>)</div><div>  [#2302](<a href="https://github.com/commercialhaskell/stack/issues/2302" target="_blank">https://github.com/commercialhaskell/stack/issues/2302</a>).</div><div>* `stack setup` detects Linux ARMv7 downloads appropriate GHC bindist</div><div>  [#2103](<a href="https://github.com/commercialhaskell/stack/issues/2103" target="_blank">https://github.com/commercialhaskell/stack/issues/2103</a>)</div><div>* Custom `stack` binaries list dependency versions in output for `--version`.</div><div>  See [#2222](<a href="https://github.com/commercialhaskell/stack/issues/2222" target="_blank">https://github.com/commercialhaskell/stack/issues/2222</a>)</div><div>  and [#2450](<a href="https://github.com/commercialhaskell/stack/issues/2450" target="_blank">https://github.com/commercialhaskell/stack/issues/2450</a>).</div><div>* Use a pretty printer to output dependency resolution errors.</div><div>  [#1912](<a href="https://github.com/commercialhaskell/stack/issues/1912" target="_blank">https://github.com/commercialhaskell/stack/issues/1912</a>)</div><div>* Remove the `--os` flag</div><div>  [#2227](<a href="https://github.com/commercialhaskell/stack/issues/2227" target="_blank">https://github.com/commercialhaskell/stack/issues/2227</a>)</div><div>* Add 'netbase' and 'ca-certificates' as dependency for .deb packages.</div><div>  [#2293](<a href="https://github.com/commercialhaskell/stack/issues/2293" target="_blank">https://github.com/commercialhaskell/stack/issues/2293</a>).</div><div>* Add `stack ide targets` command.</div><div>* Enhance debug logging with subprocess timings.</div><div>* Pretty-print YAML parse errors</div><div>  [#2374](<a href="https://github.com/commercialhaskell/stack/issues/2374" target="_blank">https://github.com/commercialhaskell/stack/issues/2374</a>)</div><div>* Clarify confusing `stack setup` output</div><div>  [#2314](<a href="https://github.com/commercialhaskell/stack/issues/2314" target="_blank">https://github.com/commercialhaskell/stack/issues/2314</a>)</div><div>* Delete `Stack.Types` multimodule to improve build times</div><div>  [#2405](<a href="https://github.com/commercialhaskell/stack/issues/2405" target="_blank">https://github.com/commercialhaskell/stack/issues/2405</a>)</div><div>* Remove spurious newlines in build logs</div><div>  [#2418](<a href="https://github.com/commercialhaskell/stack/issues/2418" target="_blank">https://github.com/commercialhaskell/stack/issues/2418</a>)</div><div>* Interpreter: Provide a way to hide implicit packages</div><div>  [#1208](<a href="https://github.com/commercialhaskell/stack/issues/1208" target="_blank">https://github.com/commercialhaskell/stack/issues/1208</a>)</div><div>* Check executability in exec lookup</div><div>  [#2489](<a href="https://github.com/commercialhaskell/stack/issues/2489" target="_blank">https://github.com/commercialhaskell/stack/issues/2489</a>)</div><div><br></div><div>Bug fixes:</div><div><br></div><div>* Fix cabal warning about use of a deprecated cabal flag</div><div>  [#2350](<a href="https://github.com/commercialhaskell/stack/issues/2350" target="_blank">https://github.com/commercialhaskell/stack/issues/2350</a>)</div><div>* Support most executable extensions on Windows</div><div>  [#2225](<a href="https://github.com/commercialhaskell/stack/issues/2225" target="_blank">https://github.com/commercialhaskell/stack/issues/2225</a>)</div><div>* Detect resolver change in `stack solver`</div><div>  [#2252](<a href="https://github.com/commercialhaskell/stack/issues/2252" target="_blank">https://github.com/commercialhaskell/stack/issues/2252</a>)</div><div>* Fix a bug in docker image creation where the wrong base image was</div><div>  selected</div><div>  [#2376](<a href="https://github.com/commercialhaskell/stack/issues/2376" target="_blank">https://github.com/commercialhaskell/stack/issues/2376</a>)</div><div>* Ignore special entries when unpacking tarballs</div><div>  [#2361](<a href="https://github.com/commercialhaskell/stack/issues/2361" target="_blank">https://github.com/commercialhaskell/stack/issues/2361</a>)</div><div>* Fixes src directory pollution of `style.css` and `highlight.js` with GHC 8's</div><div>  haddock [#2429](<a href="https://github.com/commercialhaskell/stack/issues/2429" target="_blank">https://github.com/commercialhaskell/stack/issues/2429</a>)</div><div>* Handle filepaths with spaces in `stack ghci`</div><div>  [#2266](<a href="https://github.com/commercialhaskell/stack/issues/2266" target="_blank">https://github.com/commercialhaskell/stack/issues/2266</a>)</div><div>* Apply ghc-options to snapshot packages</div><div>  [#2289](<a href="https://github.com/commercialhaskell/stack/issues/2289" target="_blank">https://github.com/commercialhaskell/stack/issues/2289</a>)</div><div>* stack sdist: Fix timestamp in tarball</div><div>  [#2394](<a href="https://github.com/commercialhaskell/stack/pull/2394" target="_blank">https://github.com/commercialhaskell/stack/pull/2394</a>)</div><div>* Allow global Stack arguments with a script</div><div>  [#2316](<a href="https://github.com/commercialhaskell/stack/issues/2316" target="_blank">https://github.com/commercialhaskell/stack/issues/2316</a>)</div><div>* Inconsistency between ToJSON and FromJSON instances of PackageLocation</div><div>  [#2412](<a href="https://github.com/commercialhaskell/stack/pull/2412" target="_blank">https://github.com/commercialhaskell/stack/pull/2412</a>)</div><div>* Perform Unicode normalization on filepaths</div><div>  [#1810](<a href="https://github.com/commercialhaskell/stack/issues/1810" target="_blank">https://github.com/commercialhaskell/stack/issues/1810</a>)</div><div>* Solver: always keep ghc wired-in as hard constraints</div><div>  [#2453](<a href="https://github.com/commercialhaskell/stack/issues/2453" target="_blank">https://github.com/commercialhaskell/stack/issues/2453</a>)</div><div>* Support OpenBSD's tar where possible, require GNU tar for xz support</div><div>  [#2283](<a href="https://github.com/commercialhaskell/stack/issues/2283" target="_blank">https://github.com/commercialhaskell/stack/issues/2283</a>)</div><div>* Fix using --coverage with Cabal-1.24</div><div>  [#2424](<a href="https://github.com/commercialhaskell/stack/issues/2424" target="_blank">https://github.com/commercialhaskell/stack/issues/2424</a>)</div><div>* When marking exe installed, remove old version</div><div>  [#2373](<a href="https://github.com/commercialhaskell/stack/issues/2373" target="_blank">https://github.com/commercialhaskell/stack/issues/2373</a>)</div><div>* Stop truncating all-cabal-hashes git repo</div><div>  [#2175](<a href="https://github.com/commercialhaskell/stack/issues/2175" target="_blank">https://github.com/commercialhaskell/stack/issues/2175</a>)</div><div>* Handle non-ASCII filenames on Windows</div><div>  [#2491](<a href="https://github.com/commercialhaskell/stack/issues/2491" target="_blank">https://github.com/commercialhaskell/stack/issues/2491</a>)</div><div>* Avoid using multiple versions of a package in script interpreter</div><div>  by passing package-id to ghc/runghc</div><div>  [#1957](<a href="https://github.com/commercialhaskell/stack/issues/1957" target="_blank">https://github.com/commercialhaskell/stack/issues/1957</a>)</div><div>* Only pre-load compiler version when using nix integration</div><div>  [#2459](<a href="https://github.com/commercialhaskell/stack/issues/2459" target="_blank">https://github.com/commercialhaskell/stack/issues/2459</a>)</div><div>* Solver: parse cabal errors also on Windows</div><div>  [#2502](<a href="https://github.com/commercialhaskell/stack/issues/2502" target="_blank">https://github.com/commercialhaskell/stack/issues/2502</a>)</div><div>* Allow exec and ghci commands in interpreter mode.</div><div>  Scripts can now automatically open in the repl by using `exec ghci`</div><div>  instead of `runghc` in the shebang command.</div><div>  [#2510](<a href="https://github.com/commercialhaskell/stack/issues/2510" target="_blank">https://github.com/commercialhaskell/stack/issues/2510</a>)</div><div>* Now consider a package to be dirty when an extra-source-file is changed.</div><div>  See [#2040](<a href="https://github.com/commercialhaskell/stack/issues/2040" target="_blank">https://github.com/commercialhaskell/stack/issues/2040</a>)</div><div><br></div><div>Thanks to all our contributors for this release:</div><div><br></div><div>* Aaron Friel</div><div>* Andrew Cowie</div><div>* AndrewRademacher</div><div>* Anton Felix Lorenzen</div><div>* Brian McKenna</div><div>* Chris Done</div><div>* Dan Aloni</div><div>* danald</div><div>* Daniel Casanueva</div><div>* Denis</div><div>* Denis Kasak</div><div>* Emanuel Borsboom</div><div>* erewok</div><div>* Gabor Greif</div><div>* Gurkenglas</div><div>* Harendra Kumar</div><div>* hesiod</div><div>* Judah Jacobson</div><div>* Khan Thompson</div><div>* Mathieu Boespflug</div><div>* Michael Sloan</div><div>* Michael Snoyman</div><div>* Mohit Agarwal</div><div>* Moritz Angermann</div><div>* Oleg Grenrus</div><div>* Paolo G. Giarrusso</div><div>* Philipp Kant</div><div>* Ryan Desfosses</div><div>* Sid Kapur</div><div>* Sidharth Kapur</div><div>* Simon Jakobi</div><div>* Tim Dysinger</div><div>* Tim Düsterhus</div><div>* Tobias Markus</div><div>* YPares</div><div>* Yuriy Syrovetskiy</div><div>* Yves Parès (Ywen)</div><div>* ___</div></div></blockquote></div>