Skip to content

Commit e08ccaf

Browse files
committed
Merge branch 'stable'
2 parents f867459 + d7c36ed commit e08ccaf

1 file changed

Lines changed: 15 additions & 12 deletions

File tree

doc/install_and_upgrade.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -94,29 +94,32 @@ problems, see the linked FAQ entries:
9494

9595
* [GHC 7.8.4 fails with `/usr/bin/ar: permission denied`](faq.md#usr-bin-ar-permission-denied)
9696
* [DYLD_LIBRARY_PATH is ignored](faq.md#dyld-library-path-ignored)
97-
97+
9898

9999
If you are on OS X 10.12 ("Sierra") and encounter [GHC panic while building, see this issue](https://github.com/commercialhaskell/stack/issues/2577)
100100

101101
## Ubuntu
102102

103103
Use the [generic Linux option](#linux).
104104

105-
There is also
106-
a
107-
[Ubuntu package](http://packages.ubuntu.com/search?keywords=haskell-stack&searchon=names&suite=all&section=all) for
108-
Ubuntu 16.04 and up. Note that the distribution's Stack version lags behind, so
109-
we recommend running `stack upgrade` after installing it.
105+
There is also a [Ubuntu
106+
package](http://packages.ubuntu.com/search?keywords=haskell-stack&searchon=names&suite=all&section=all)
107+
for Ubuntu 16.10 and up, but the distribution's Stack version lags behind, so we
108+
recommend running `stack upgrade --binary` after installing it. For older stack
109+
versions which do not support `--binary`, just `stack upgrade` is fine too. The
110+
version in Ubuntu 16.04 is too old to upgrade successfully, and so in that case
111+
stack should be installed from a [release
112+
tarball](https://github.com/commercialhaskell/stack/releases).
110113

111114
## Debian
112115

113116
Use the [generic Linux option](#linux).
114117

115-
There is also
116-
a
117-
[Debian package](https://packages.debian.org/search?keywords=haskell-stack&searchon=names&suite=all&section=all) for
118-
Stretch and up. Note that the distribution's Stack version lags behind, so
119-
we recommend running `stack upgrade` after installing it.
118+
There is also a [Debian
119+
package](https://packages.debian.org/search?keywords=haskell-stack&searchon=names&suite=all&section=all)
120+
for Stretch and up, but the distribution's Stack version lags behind, so running
121+
`stack upgrade --binary` is recommended after installing it. For older stack
122+
versions which do not support `--binary`, just `stack upgrade` is fine too.
120123

121124
## <a name="centos"></a>CentOS / Red Hat / Amazon Linux
122125

@@ -192,7 +195,7 @@ can also get the `haskell-stack-tool` package from there.
192195

193196
Users who follow the `nixos-unstable` channel or the Nixpkgs `master` branch can install the latest `stack` release into their profile by running:
194197

195-
nix-env -f "<nixpkgs>" -iA haskellPackages.stack
198+
nix-env -f "<nixpkgs>" -iA stack
196199

197200
Alternatively, the package can be built from source as follows.
198201

0 commit comments

Comments
 (0)