Use ghcup to install GHC on linux and remove docs and profiling libs (#4043)

This commit is contained in:
Julian Ospald
2021-09-10 15:17:15 +02:00
committed by GitHub
parent a9ac553edd
commit ee69b89103
3 changed files with 21 additions and 27 deletions

View File

@@ -275,8 +275,7 @@ function Build-PHPSection {
function Get-GHCVersion {
$(ghc --version) -match "version (?<version>\d+\.\d+\.\d+)" | Out-Null
$ghcVersion = $Matches.version
$aptSourceRepo = Get-AptSourceRepository -PackageName "ghc"
return "GHC $ghcVersion (apt source repository: $aptSourceRepo)"
return "GHC $ghcVersion"
}
function Get-GHCupVersion {