[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

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