mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-02-10 05:17:30 +01:00
Rename doc dir for GHC 8
This commit is contained in:
parent
ce9db10bcc
commit
f559910323
@ -24,6 +24,9 @@ add-apt-repository -y ppa:marutter/rrutter
|
|||||||
# not sure what this was needed for
|
# not sure what this was needed for
|
||||||
#add-apt-repository -y ppa:openstack-ubuntu-testing/icehouse
|
#add-apt-repository -y ppa:openstack-ubuntu-testing/icehouse
|
||||||
|
|
||||||
|
# Set the GHC version
|
||||||
|
GHCVER=8.0.1
|
||||||
|
|
||||||
# Get Stack
|
# Get Stack
|
||||||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 575159689BEFB442
|
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 575159689BEFB442
|
||||||
echo 'deb http://download.fpcomplete.com/ubuntu xenial main'|tee /etc/apt/sources.list.d/fpco.list
|
echo 'deb http://download.fpcomplete.com/ubuntu xenial main'|tee /etc/apt/sources.list.d/fpco.list
|
||||||
@ -31,8 +34,8 @@ echo 'deb http://download.fpcomplete.com/ubuntu xenial main'|tee /etc/apt/source
|
|||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
build-essential \
|
build-essential \
|
||||||
ghc-8.0.1 \
|
ghc-$GHCVER \
|
||||||
ghc-8.0.1-htmldocs \
|
ghc-$GHCVER-htmldocs \
|
||||||
hscolour \
|
hscolour \
|
||||||
sudo \
|
sudo \
|
||||||
curl \
|
curl \
|
||||||
@ -108,6 +111,9 @@ apt-get install -y \
|
|||||||
openjdk-8-jdk \
|
openjdk-8-jdk \
|
||||||
zlib1g-dev
|
zlib1g-dev
|
||||||
|
|
||||||
|
# Put documentation where we expect it
|
||||||
|
mv /opt/ghc/$GHCVER/share/doc/ghc-$GHCVER/ /opt/ghc/$GHCVER/share/doc/ghc
|
||||||
|
|
||||||
# Buggy versions of ld.bfd fail to link some Haskell packages:
|
# Buggy versions of ld.bfd fail to link some Haskell packages:
|
||||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=17689. Gold is
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=17689. Gold is
|
||||||
# faster anyways and uses less RAM.
|
# faster anyways and uses less RAM.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user