Skip to content

Commit

Permalink
Update haskel compiler and less installed versions
Browse files Browse the repository at this point in the history
  • Loading branch information
andys8 committed Aug 12, 2023
1 parent 855fed6 commit 74c7542
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions scripts/update-haskell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,18 @@ ghcup install stack recommended --set

echo ">> Installing ghc"
ghcup install ghc 8.10.7 --no-set
ghcup install ghc 9.0.2 --no-set
ghcup install ghc 9.2.7 --set
ghcup install ghc 9.2.8 --set

echo ">> Checking haskell-language-server"
hlsVersion="1.10.0.0"
hlsVersion="2.0.0.1"

if [[ $(haskell-language-server-wrapper --version) != *"$hlsVersion"* ]] || [[ "$arg" == "--force" ]]; then
echo ">> Installing haskell-language-server ($hlsVersion)"
ghcup compile hls \
--git-ref "$hlsVersion" \
--git-describe-version \
--ghc 8.10.7 \
--ghc 9.2.7 \
--ghc 9.0.2 \
--ghc 9.2.8 \
--set \
-- --ghc-options='-dynamic' \
--flags="-haddockComments -eval -importLens -retrie -tactic -stan -alternateNumberFormat -gadt -explicitFixity -floskell"
Expand Down

0 comments on commit 74c7542

Please sign in to comment.