diff --git a/images/win/scripts/Installers/Install-Haskell.ps1 b/images/win/scripts/Installers/Install-Haskell.ps1 index 0e44d0ad8e08..cd133d547a5c 100644 --- a/images/win/scripts/Installers/Install-Haskell.ps1 +++ b/images/win/scripts/Installers/Install-Haskell.ps1 @@ -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