[ubuntu] Document GHC apt repository (#3268)

This commit is contained in:
Sergey Dolin
2021-04-28 16:51:16 +05:00
committed by GitHub
parent 6d21bc3d1a
commit 552da81d13
2 changed files with 7 additions and 2 deletions

View File

@@ -49,4 +49,8 @@ ln -s "/opt/ghc/$defaultGHCVersion/bin/ghc" "/usr/bin/ghc"
# Install the latest stable release of haskell stack
curl -sSL https://get.haskellstack.org/ | sh
invoke_tests "Haskell"
# remove PPA repo
echo "ghc ppa:hvr/ghc" >> $HELPER_SCRIPTS/apt-sources.txt
add-apt-repository --remove ppa:hvr/ghc
invoke_tests "Haskell"