We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2434e2e commit e5ec774Copy full SHA for e5ec774
Vagrantfile-provision.ps1
@@ -87,7 +87,17 @@ git config --global mergetool.meld.cmd '\"C:/Program Files (x86)/Meld/Meld.exe\"
87
#git config --list --show-origin
88
89
# install msys2.
90
-choco install -y msys2
+# NB we have to manually build the msys2 package from source because the
91
+# current chocolatey package is somewhat brittle to install.
92
+Push-Location $env:TEMP
93
+$p = Start-Process git clone,https://github.com/rgl/choco-packages -PassThru -Wait
94
+if ($p.ExitCode) {
95
+ throw "git failed with exit code $($p.ExitCode)"
96
+}
97
+cd choco-packages/msys2
98
+choco pack
99
+choco install -y msys2 -Source $PWD
100
+Pop-Location
101
102
# configure the msys2 launcher to let the shell inherith the PATH.
103
$msys2BasePath = 'C:\tools\msys64'
0 commit comments