File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,17 @@ git config --global mergetool.meld.cmd '\"C:/Program Files (x86)/Meld/Meld.exe\"
87
87
# git config --list --show-origin
88
88
89
89
# install msys2.
90
- choco install - y msys2
90
+ # 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
91
101
92
102
# configure the msys2 launcher to let the shell inherith the PATH.
93
103
$msys2BasePath = ' C:\tools\msys64'
You can’t perform that action at this time.
0 commit comments