@@ -17,16 +17,16 @@ locale-gen en_US.UTF-8
18export DEBIAN_FRONTEND=noninteractive
18export DEBIAN_FRONTEND=noninteractive
19apt-get update
19apt-get update
20−apt-get install -y software-properties-common python-software-properties git
20+apt-get install -y software-properties-common
22add-apt-repository ppa:hvr/ghc -y
22add-apt-repository ppa:hvr/ghc -y
23−add-apt-repository -y ppa:zoogie/sdl2-snapshots
24add-apt-repository -y ppa:marutter/rrutter
23add-apt-repository -y ppa:marutter/rrutter
24+# not sure what this was needed for
25−add-apt-repository -y ppa:openstack-ubuntu-testing/icehouse
25+#add-apt-repository -y ppa:openstack-ubuntu-testing/icehouse
27# Get Stack
27# Get Stack
28−sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 575159689BEFB442
28+apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 575159689BEFB442
29−echo 'deb http://download.fpcomplete.com/ubuntu trusty main'|sudo tee /etc/apt/sources.list.d/fpco.list
29+echo 'deb http://download.fpcomplete.com/ubuntu xenial main'|tee /etc/apt/sources.list.d/fpco.list
31apt-get update
31apt-get update
32apt-get install -y \
32apt-get install -y \
@@ -74,13 +74,13 @@ apt-get install -y \
74 libopenal-dev \
74 libopenal-dev \
75 libpango1.0-dev \
75 libpango1.0-dev \
76 libpcap0.8-dev \
76 libpcap0.8-dev \
78 libpq-dev \
77 libpq-dev \
79 libsdl2-dev \
78 libsdl2-dev \
80 libsnappy-dev \
79 libsnappy-dev \
81 libsndfile1-dev \
80 libsndfile1-dev \
82 libsqlite3-dev \
81 libsqlite3-dev \
83 libssl-dev \
82 libssl-dev \
84 libtagc0-dev \
84 libtagc0-dev \
85 libtre-dev \
85 libtre-dev \
86 libudev-dev \
86 libudev-dev \
@@ -94,32 +94,18 @@ apt-get install -y \
94 libzmq3-dev \
94 libzmq3-dev \
100 r-base-dev \
101 r-base-dev \
101− texlive-full \
102+ texlive \
105− openjdk-7-jdk \
106+ openjdk-8-jdk \
106 zlib1g-dev
107 zlib1g-dev
108−mkdir /tmp/nettle-build
111−wget https://ftp.gnu.org/gnu/nettle/nettle-3.1.1.tar.gz
112−tar zxf nettle-3.1.1.tar.gz
114−./configure --prefix=/usr
118−mkdir -p /usr/lib/x86_64-linux-gnu/
119−ln -sfv /usr/lib/libnettle.so.6.1 /usr/lib/x86_64-linux-gnu/libnettle.so.6
121−rm -rf /tmp/nettle-build
123# Buggy versions of ld.bfd fail to link some Haskell packages:
109# Buggy versions of ld.bfd fail to link some Haskell packages:
124# https://sourceware.org/bugzilla/show_bug.cgi?id=17689. Gold is
110# https://sourceware.org/bugzilla/show_bug.cgi?id=17689. Gold is
125# faster anyways and uses less RAM.
111# faster anyways and uses less RAM.
@@ -127,4 +113,4 @@ update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.gold" 20
127update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10
113update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10
129# See: https://github.com/fpco/stackage/issues/1388
115# See: https://github.com/fpco/stackage/issues/1388
130−ln -n /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so /usr/lib
116+ln -n /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so /usr/lib