Fix Linux Mint shenanigans with HLS

This commit is contained in:
2022-12-13 19:10:08 +08:00
parent 5b58beb3bd
commit 1ba37946e1
2 changed files with 35 additions and 18 deletions

View File

@@ -10,6 +10,11 @@ source $GHCUP_INSTALL_BASE_PREFIX/.ghcup/env || source ~/.bashrc
ghcup --version
which ghcup | grep foobarbaz
# oh no
if [ "${TOOL}" = "hls" ] ; then
ghcup -v --url-source=file:$METADATA_FILE install ghc --set 9.2.4
fi
ghcup -v --url-source=file:$METADATA_FILE install $TOOL --set $VERSION
cat <<EOF > main.hs