CircleCI: Install lbzip2 and patch
authorBen Gamari <ben@smart-cactus.org>
Wed, 22 Nov 2017 17:07:29 +0000 (12:07 -0500)
committerBen Gamari <ben@smart-cactus.org>
Thu, 23 Nov 2017 14:56:56 +0000 (09:56 -0500)
tar needs lbzip2 to extract the GMP tarball. Patch is needed to, well, patch.

.circleci/prepare-system.sh

index 063c70a..c991c1c 100755 (executable)
@@ -28,7 +28,7 @@ case "$(uname)" in
         apt-get update -qq
         apt-get install -qy ghc-8.0.2 cabal-install-1.24 alex happy \
                             ncurses-dev git make automake autoconf gcc perl \
-                            python3 texinfo xz-utils
+                            python3 texinfo xz-utils lbzip2 patch
         cabal update
         cabal install --reinstall hscolour
         ln -s $HOME/.cabal/bin/HsColour /usr/local/bin/HsColour
@@ -42,7 +42,7 @@ case "$(uname)" in
       fi
     else
       # assuming Ubuntu
-      apt-get install -qy git make automake autoconf gcc perl python3 texinfo xz-utils
+      apt-get install -qy git make automake autoconf gcc perl python3 texinfo xz-utils lbzip2 patch
       cabal update
       cabal install --reinstall hscolour
     fi