Re: ANN: stack-1.2.0

2016-09-17 Thread Yann Esposito
Just to note, on OS X, wget is not installed by default. So in one of my 
script I use:

 curl -sSL https://get.haskellstack.org/ | sh

instead.

On Friday, September 16, 2016 at 4:05:31 PM UTC+2, Emanuel Borsboom wrote:
>
> See https://haskellstack.org for installation and upgrade instructions.
>
> Release notes:
>
> * On many Un*x systems, Stack can now be installed with a simple
>   one-liner:
>
> wget -qO- https://get.haskellstack.org/ | sh
>
> * The fix for
>   [#2175](https://github.com/commercialhaskell/stack/issues/2175)
>   entails that stack must perform a full clone of a large Git repo of
>   Hackage meta-information. The total download size is about 200 MB.
>   Please be aware of this when upgrading your stack installation.
>
> * If you use Mac OS X, you may want to delay upgrading to macOS Sierra as 
> there
>   are reports of GHC panics when building some packages (including Stack
>   itself). See [#2577](
> https://github.com/commercialhaskell/stack/issues/2577)
>
> * This version of Stack does not build on ARM or PowerPC systems (see
>   [store#37](https://github.com/fpco/store/issues/37)).  Please stay with
>   version 1.1.2 for now on those architectures.  This will be rectified 
> soon!
>
> * We are now releasing a
>   [statically linked Stack binary for 64-bit Linux](
> https://www.stackage.org/stack/linux-x86_64-static).
>   Please try it and let us know if you run into any trouble on your 
> platform.
>
> * We are planning some changes to our Linux releases, including dropping 
> our
>   Ubuntu, Debian, CentOS, and Fedora package repositories and switching to
>   statically linked binaries.  We would value your feedback in
>   [#2534](https://github.com/commercialhaskell/stack/issues/2534).
>
> Major changes:
>
> * Add `stack hoogle` command.
>   [#55](https://github.com/commercialhaskell/stack/issues/55)
> * Support for absolute file path in `url` field of `setup-info` or 
> `--ghc-bindist`
> * Add support for rendering GHCi scripts targeting different GHCi like
>   applications
>   [#2457](https://github.com/commercialhaskell/stack/pull/2457)
>
> Behavior changes:
>
> * Remove `stack ide start` and `stack ide load-targets` commands.
>   [#2178](https://github.com/commercialhaskell/stack/issues/2178)
> * Support .buildinfo files in `stack ghci`.
>   [#2242](https://github.com/commercialhaskell/stack/pull/2242)
> * Support -ferror-spans syntax in GHC error messages.
> * Avoid unpacking ghc to `/tmp`
>   [#996](https://github.com/commercialhaskell/stack/issues/996)
> * The Linux `gmp4` GHC bindist is no longer considered a full-fledged GHC
>   variant and can no longer be specified using the `ghc-variant` option,
>   and instead is treated more like a slightly different platform.
>
> Other enhancements:
>
> * Use the `store` package for binary serialization of most caches.
> * Only require minor version match for Docker stack exe.
>   This way, we can make patch releases for version bounds and similar
>   build issues without needing to upload new binaries for Docker.
> * Stack/Nix: Passes the right ghc derivation as an argument to the 
> `shell.nix` when a
>   custom `shell.nix` is used
>   See [#2243](https://github.com/commercialhaskell/stack/issues/2243)
> * Stack/Nix: Sets `LD_LIBRARY_PATH` so packages using C libs for Template 
> Haskell can work
>   (See _e.g._ [this HaskellR issue](
> https://github.com/tweag/HaskellR/issues/253))
> * Parse CLI arguments and configuration files into less permissive types,
>   improving error messages for bad inputs.
>   [#2267](https://github.com/commercialhaskell/stack/issues/2267)
> * Add the ability to explictly specify a gcc executable.
>   [#593](https://github.com/commercialhaskell/stack/issues/593)
> * Nix: No longer uses LTS mirroring in nixpkgs. Gives to nix-shell a 
> derivation
>   like `haskell.compiler.ghc801`
>   See [#2259](https://github.com/commercialhaskell/stack/issues/2259)
> * Perform some subprocesses during setup concurrently, slightly speeding 
> up most
>   commands. [#2346](https://github.com/commercialhaskell/stack/pull/2346)
> * `stack setup` no longer unpacks to the system temp dir on posix systems.
>   [#996](https://github.com/commercialhaskell/stack/issues/996)
> * `stack setup` detects libtinfo6 and ncurses6 and can download alternate 
> GHC
>   bindists [#257](https://github.com/commercialhaskell/stack/issues/257)
>   [#2302](https://github.com/commercialhaskell/stack/issues/2302).
> * `stack setup` detects Linux ARMv7 downloads appropriate GHC bindist
>   [#2103](https://github.com/commercialhaskell/stack/issues/2103)
> * Custom `stack` binaries list dependency versions in output for 
> `--version`.
>   See [#](https://github.com/commercialhaskell/stack/issues/)
>   and [#2450](https://github.com/commercialhaskell/stack/issues/2450).
> * Use a pretty printer to output dependency resolution errors.
>   [#1912](https://github.com/commercialhaskell/stack/issues/1912)
> * Remove the `--os` flag
>  

ANN: stack-1.2.0

2016-09-16 Thread Emanuel Borsboom
See https://haskellstack.org for installation and upgrade instructions.

Release notes:

* On many Un*x systems, Stack can now be installed with a simple
  one-liner:

wget -qO- https://get.haskellstack.org/ | sh

* The fix for
  [#2175](https://github.com/commercialhaskell/stack/issues/2175)
  entails that stack must perform a full clone of a large Git repo of
  Hackage meta-information. The total download size is about 200 MB.
  Please be aware of this when upgrading your stack installation.

* If you use Mac OS X, you may want to delay upgrading to macOS Sierra as
there
  are reports of GHC panics when building some packages (including Stack
  itself). See [#2577](
https://github.com/commercialhaskell/stack/issues/2577)

* This version of Stack does not build on ARM or PowerPC systems (see
  [store#37](https://github.com/fpco/store/issues/37)).  Please stay with
  version 1.1.2 for now on those architectures.  This will be rectified
soon!

* We are now releasing a
  [statically linked Stack binary for 64-bit Linux](
https://www.stackage.org/stack/linux-x86_64-static).
  Please try it and let us know if you run into any trouble on your
platform.

* We are planning some changes to our Linux releases, including dropping our
  Ubuntu, Debian, CentOS, and Fedora package repositories and switching to
  statically linked binaries.  We would value your feedback in
  [#2534](https://github.com/commercialhaskell/stack/issues/2534).

Major changes:

* Add `stack hoogle` command.
  [#55](https://github.com/commercialhaskell/stack/issues/55)
* Support for absolute file path in `url` field of `setup-info` or
`--ghc-bindist`
* Add support for rendering GHCi scripts targeting different GHCi like
  applications
  [#2457](https://github.com/commercialhaskell/stack/pull/2457)

Behavior changes:

* Remove `stack ide start` and `stack ide load-targets` commands.
  [#2178](https://github.com/commercialhaskell/stack/issues/2178)
* Support .buildinfo files in `stack ghci`.
  [#2242](https://github.com/commercialhaskell/stack/pull/2242)
* Support -ferror-spans syntax in GHC error messages.
* Avoid unpacking ghc to `/tmp`
  [#996](https://github.com/commercialhaskell/stack/issues/996)
* The Linux `gmp4` GHC bindist is no longer considered a full-fledged GHC
  variant and can no longer be specified using the `ghc-variant` option,
  and instead is treated more like a slightly different platform.

Other enhancements:

* Use the `store` package for binary serialization of most caches.
* Only require minor version match for Docker stack exe.
  This way, we can make patch releases for version bounds and similar
  build issues without needing to upload new binaries for Docker.
* Stack/Nix: Passes the right ghc derivation as an argument to the
`shell.nix` when a
  custom `shell.nix` is used
  See [#2243](https://github.com/commercialhaskell/stack/issues/2243)
* Stack/Nix: Sets `LD_LIBRARY_PATH` so packages using C libs for Template
Haskell can work
  (See _e.g._ [this HaskellR issue](
https://github.com/tweag/HaskellR/issues/253))
* Parse CLI arguments and configuration files into less permissive types,
  improving error messages for bad inputs.
  [#2267](https://github.com/commercialhaskell/stack/issues/2267)
* Add the ability to explictly specify a gcc executable.
  [#593](https://github.com/commercialhaskell/stack/issues/593)
* Nix: No longer uses LTS mirroring in nixpkgs. Gives to nix-shell a
derivation
  like `haskell.compiler.ghc801`
  See [#2259](https://github.com/commercialhaskell/stack/issues/2259)
* Perform some subprocesses during setup concurrently, slightly speeding up
most
  commands. [#2346](https://github.com/commercialhaskell/stack/pull/2346)
* `stack setup` no longer unpacks to the system temp dir on posix systems.
  [#996](https://github.com/commercialhaskell/stack/issues/996)
* `stack setup` detects libtinfo6 and ncurses6 and can download alternate
GHC
  bindists [#257](https://github.com/commercialhaskell/stack/issues/257)
  [#2302](https://github.com/commercialhaskell/stack/issues/2302).
* `stack setup` detects Linux ARMv7 downloads appropriate GHC bindist
  [#2103](https://github.com/commercialhaskell/stack/issues/2103)
* Custom `stack` binaries list dependency versions in output for
`--version`.
  See [#](https://github.com/commercialhaskell/stack/issues/)
  and [#2450](https://github.com/commercialhaskell/stack/issues/2450).
* Use a pretty printer to output dependency resolution errors.
  [#1912](https://github.com/commercialhaskell/stack/issues/1912)
* Remove the `--os` flag
  [#2227](https://github.com/commercialhaskell/stack/issues/2227)
* Add 'netbase' and 'ca-certificates' as dependency for .deb packages.
  [#2293](https://github.com/commercialhaskell/stack/issues/2293).
* Add `stack ide targets` command.
* Enhance debug logging with subprocess timings.
* Pretty-print YAML parse errors
  [#2374](https://github.com/commercialhaskell/stack/issues/2374)
* Clarify confusing `stack setup` output

Re: ANN: stack-1.2.0

2016-09-16 Thread Emanuel Borsboom
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
https://github.com/commercialhaskell/stack/issues/2602 for more details.

On Fri, Sep 16, 2016 at 7:05 AM Emanuel Borsboom 
wrote:

> See https://haskellstack.org for installation and upgrade instructions.
>
> Release notes:
>
> * On many Un*x systems, Stack can now be installed with a simple
>   one-liner:
>
> wget -qO- https://get.haskellstack.org/ | sh
>
> * The fix for
>   [#2175](https://github.com/commercialhaskell/stack/issues/2175)
>   entails that stack must perform a full clone of a large Git repo of
>   Hackage meta-information. The total download size is about 200 MB.
>   Please be aware of this when upgrading your stack installation.
>
> * If you use Mac OS X, you may want to delay upgrading to macOS Sierra as
> there
>   are reports of GHC panics when building some packages (including Stack
>   itself). See [#2577](
> https://github.com/commercialhaskell/stack/issues/2577)
>
> * This version of Stack does not build on ARM or PowerPC systems (see
>   [store#37](https://github.com/fpco/store/issues/37)).  Please stay with
>   version 1.1.2 for now on those architectures.  This will be rectified
> soon!
>
> * We are now releasing a
>   [statically linked Stack binary for 64-bit Linux](
> https://www.stackage.org/stack/linux-x86_64-static).
>   Please try it and let us know if you run into any trouble on your
> platform.
>
> * We are planning some changes to our Linux releases, including dropping
> our
>   Ubuntu, Debian, CentOS, and Fedora package repositories and switching to
>   statically linked binaries.  We would value your feedback in
>   [#2534](https://github.com/commercialhaskell/stack/issues/2534).
>
> Major changes:
>
> * Add `stack hoogle` command.
>   [#55](https://github.com/commercialhaskell/stack/issues/55)
> * Support for absolute file path in `url` field of `setup-info` or
> `--ghc-bindist`
> * Add support for rendering GHCi scripts targeting different GHCi like
>   applications
>   [#2457](https://github.com/commercialhaskell/stack/pull/2457)
>
> Behavior changes:
>
> * Remove `stack ide start` and `stack ide load-targets` commands.
>   [#2178](https://github.com/commercialhaskell/stack/issues/2178)
> * Support .buildinfo files in `stack ghci`.
>   [#2242](https://github.com/commercialhaskell/stack/pull/2242)
> * Support -ferror-spans syntax in GHC error messages.
> * Avoid unpacking ghc to `/tmp`
>   [#996](https://github.com/commercialhaskell/stack/issues/996)
> * The Linux `gmp4` GHC bindist is no longer considered a full-fledged GHC
>   variant and can no longer be specified using the `ghc-variant` option,
>   and instead is treated more like a slightly different platform.
>
> Other enhancements:
>
> * Use the `store` package for binary serialization of most caches.
> * Only require minor version match for Docker stack exe.
>   This way, we can make patch releases for version bounds and similar
>   build issues without needing to upload new binaries for Docker.
> * Stack/Nix: Passes the right ghc derivation as an argument to the
> `shell.nix` when a
>   custom `shell.nix` is used
>   See [#2243](https://github.com/commercialhaskell/stack/issues/2243)
> * Stack/Nix: Sets `LD_LIBRARY_PATH` so packages using C libs for Template
> Haskell can work
>   (See _e.g._ [this HaskellR issue](
> https://github.com/tweag/HaskellR/issues/253))
> * Parse CLI arguments and configuration files into less permissive types,
>   improving error messages for bad inputs.
>   [#2267](https://github.com/commercialhaskell/stack/issues/2267)
> * Add the ability to explictly specify a gcc executable.
>   [#593](https://github.com/commercialhaskell/stack/issues/593)
> * Nix: No longer uses LTS mirroring in nixpkgs. Gives to nix-shell a
> derivation
>   like `haskell.compiler.ghc801`
>   See [#2259](https://github.com/commercialhaskell/stack/issues/2259)
> * Perform some subprocesses during setup concurrently, slightly speeding
> up most
>   commands. [#2346](https://github.com/commercialhaskell/stack/pull/2346)
> * `stack setup` no longer unpacks to the system temp dir on posix systems.
>   [#996](https://github.com/commercialhaskell/stack/issues/996)
> * `stack setup` detects libtinfo6 and ncurses6 and can download alternate
> GHC
>   bindists [#257](https://github.com/commercialhaskell/stack/issues/257)
>   [#2302](https://github.com/commercialhaskell/stack/issues/2302).
> * `stack setup` detects Linux ARMv7 downloads appropriate GHC bindist
>   [#2103](https://github.com/commercialhaskell/stack/issues/2103)
> * Custom `stack` binaries list dependency versions in output for
> `--version`.
>   See [#](https://github.com/commercialhaskell/stac