on master help sign in
debian-bootstrap.sh: use get.haskellstack.org to install stack

Since download.fpcomplete.com Ubuntu/Debian package repos are being phased out.

commit20bb7bab0297c85e30aec70e97cb55abe08061e1 authorEmanuel Borsboom <manny@fpcomplete.com> dateSun 12 Feb 2017, 06:49 (10 years ago) parentebcc678
1 file changed+2−5
debian-bootstrap.sh+2−5
debian-bootstrap.sh+2−5
@@ -27,10 +27,6 @@ add-apt-repository -y ppa:marutter/rrutter
2727# Set the GHC version
2828GHCVER=8.0.2
2929
30−# Get Stack
31−apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 575159689BEFB442
32−echo 'deb http://download.fpcomplete.com/ubuntu xenial main'|tee /etc/apt/sources.list.d/fpco.list
33−
3430apt-get update
3531apt-get install -y \
3632 build-essential \
@@ -122,13 +118,14 @@ apt-get install -y \
122118 r-base \
123119 r-base-dev \
124120 ruby-dev \
125− stack \
126121 wget \
127122 xclip \
128123 z3 \
129124 zip \
130125 zlib1g-dev
131126
127+curl -sSL https://get.haskellstack.org/ | sh
128+
132129# Put documentation where we expect it
133130mv /opt/ghc/$GHCVER/share/doc/ghc-$GHCVER/ /opt/ghc/$GHCVER/share/doc/ghc
134131