@@ -12,21 +12,13 @@
1212
1313set -exu
1414
15−mkdir /home/stackage -p
15+mkdir -p /home/stackage
1616
17+export LANG=C.UTF-8
1718export DEBIAN_FRONTEND=noninteractive
18−apt-get update
19−apt-get install -y software-properties-common
20−
21−add-apt-repository ppa:hvr/ghc -y
22−apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
23−add-apt-repository -y --keyserver hkp://keyserver.ubuntu.com:80 'deb http://download.mono-project.com/repo/debian wheezy main'
24−add-apt-repository -y --keyserver hkp://keyserver.ubuntu.com:80 'deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main'
25−add-apt-repository -y --keyserver hkp://keyserver.ubuntu.com:80 'deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main'
26−
27−GHCVER=8.6.3
2819
2920apt-get update
21+
3022apt-get install -y \
3123 apt-transport-https \
3224 build-essential \
@@ -37,10 +29,6 @@ apt-get install -y \
3729 fsharp \
3830 g++ \
3931 gawk \
40− ghc-$GHCVER \
41− ghc-$GHCVER-dyn \
42− ghc-$GHCVER-htmldocs \
43− ghc-$GHCVER-prof \
4432 git \
4533 gnupg \
4634 gradle \
@@ -145,6 +133,7 @@ apt-get install -y \
145133 r-base \
146134 r-base-dev \
147135 ruby-dev \
136+ software-properties-common \
148137 sudo \
149138 unixodbc-dev \
150139 wget \
@@ -153,6 +142,11 @@ apt-get install -y \
153142 zip \
154143 zlib1g-dev
155144
145+GHCVER=8.6.3
146+
147+add-apt-repository ppa:hvr/ghc -y
148+apt-get install -y ghc-$GHCVER ghc-$GHCVER-dyn ghc-$GHCVER-htmldocs ghc-$GHCVER-prof
149+
156150# odbc
157151curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
158152curl https://packages.microsoft.com/config/debian/9/prod.list > /etc/apt/sources.list.d/mssql-release.list