Install ghcup on windows (#4044)

This commit is contained in:
Julian Ospald
2021-09-10 15:16:54 +02:00
committed by GitHub
parent 06eef92e40
commit a9ac553edd

View File

@@ -33,3 +33,7 @@ Write-Host 'Installing cabal...'
Choco-Install -PackageName cabal
Invoke-PesterTests -TestFile 'Haskell'
# install minimal ghcup, utilizing pre-installed msys2 at C:\msys64
$bootstrapHaskell = Invoke-WebRequest https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1 -UseBasicParsing
Invoke-Command -ScriptBlock ([ScriptBlock]::Create($bootstrapHaskell)) -ArgumentList $false, $true, $true, $false, $false, $false, $false, C:\, "", C:\msys64, C:\cabal