Detect msys2 via uname (different to msys)
Detect msys2 via uname (different to msys)

uname -s
  msys gives "MINGW32"
  msys2 gives "MINGW_NT-6.2"

gridaphobe/ghc,snoyberg/ghc,jstolarek/ghc,holzensp/ghc,nathyong/microghc-ghc,gcampax/ghc,lukexi/ghc,vikraman/ghc,christiaanb/ghc,nushio3/ghc,vTurbine/ghc,bitemyapp/ghc,mettekou/ghc,elieux/ghc,christiaanb/ghc,mfine/ghc,lukexi/ghc,tibbe/ghc,green-haskell/ghc,da-x/ghc,wxwxwwxxx/ghc,da-x/ghc,vikraman/ghc,gridaphobe/ghc,green-haskell/ghc,nkaretnikov/ghc,elieux/ghc,wxwxwwxxx/ghc,ryantm/ghc,anton-dessiatov/ghc,mfine/ghc,mcschroeder/ghc,gridaphobe/ghc,ml9951/ghc,ezyang/ghc,gcampax/ghc,gridaphobe/ghc,ryantm/ghc,ml9951/ghc,elieux/ghc,urbanslug/ghc,vTurbine/ghc,vikraman/ghc,AlexanderPankiv/ghc,mettekou/ghc,nathyong/microghc-ghc,siddhanathan/ghc,mcschroeder/ghc,jstolarek/ghc,nushio3/ghc,mcschroeder/ghc,green-haskell/ghc,gcampax/ghc,nkaretnikov/ghc,fmthoma/ghc,acowley/ghc,snoyberg/ghc,ghc-android/ghc,GaloisInc/halvm-ghc,vikraman/ghc,green-haskell/ghc,fmthoma/ghc,mcschroeder/ghc,acowley/ghc,vTurbine/ghc,GaloisInc/halvm-ghc,vikraman/ghc,TomMD/ghc,AlexanderPankiv/ghc,sgillespie/ghc,tjakway/ghcjvm,shlevy/ghc,nkaretnikov/ghc,siddhanathan/ghc,sgillespie/ghc,hferreiro/replay,christiaanb/ghc,nathyong/microghc-ghc,urbanslug/ghc,elieux/ghc,ghc-android/ghc,hferreiro/replay,anton-dessiatov/ghc,snoyberg/ghc,ml9951/ghc,GaloisInc/halvm-ghc,TomMD/ghc,AlexanderPankiv/ghc,fmthoma/ghc,nushio3/ghc,mettekou/ghc,olsner/ghc,urbanslug/ghc,oldmanmike/ghc,acowley/ghc,AlexanderPankiv/ghc,mcschroeder/ghc,bitemyapp/ghc,jstolarek/ghc,snoyberg/ghc,oldmanmike/ghc,ezyang/ghc,christiaanb/ghc,forked-upstream-packages-for-ghcjs/ghc,tjakway/ghcjvm,forked-upstream-packages-for-ghcjs/ghc,fmthoma/ghc,nkaretnikov/ghc,vTurbine/ghc,spacekitteh/smcghc,hferreiro/replay,frantisekfarka/ghc-dsi,holzensp/ghc,GaloisInc/halvm-ghc,oldmanmike/ghc,mcschroeder/ghc,TomMD/ghc,mfine/ghc,acowley/ghc,ml9951/ghc,bitemyapp/ghc,forked-upstream-packages-for-ghcjs/ghc,wxwxwwxxx/ghc,siddhanathan/ghc,frantisekfarka/ghc-dsi,holzensp/ghc,ezyang/ghc,nkaretnikov/ghc,lukexi/ghc-7.8-arm64,nushio3/ghc,ghc-android/ghc,urbanslug/ghc,christiaanb/ghc,tjakway/ghcjvm,nushio3/ghc,shlevy/ghc,hferreiro/replay,nathyong/microghc-ghc,mfine/ghc,wxwxwwxxx/ghc,sgillespie/ghc,jstolarek/ghc,jstolarek/ghc,olsner/ghc,ghc-android/ghc,ryantm/ghc,siddhanathan/ghc,ml9951/ghc,nushio3/ghc,mfine/ghc,mettekou/ghc,hferreiro/replay,mcschroeder/ghc,tibbe/ghc,gridaphobe/ghc,frantisekfarka/ghc-dsi,ml9951/ghc,vikraman/ghc,ezyang/ghc,fmthoma/ghc,AlexanderPankiv/ghc,gridaphobe/ghc,shlevy/ghc,gcampax/ghc,lukexi/ghc-7.8-arm64,holzensp/ghc,TomMD/ghc,tjakway/ghcjvm,olsner/ghc,TomMD/ghc,lukexi/ghc-7.8-arm64,lukexi/ghc-7.8-arm64,forked-upstream-packages-for-ghcjs/ghc,ghc-android/ghc,elieux/ghc,wxwxwwxxx/ghc,sdiehl/ghc,nathyong/microghc-ghc,forked-upstream-packages-for-ghcjs/ghc,mettekou/ghc,acowley/ghc,green-haskell/ghc,sgillespie/ghc,gcampax/ghc,spacekitteh/smcghc,urbanslug/ghc,urbanslug/ghc,ryantm/ghc,tibbe/ghc,sdiehl/ghc,ml9951/ghc,fmthoma/ghc,ezyang/ghc,oldmanmike/ghc,lukexi/ghc,nathyong/microghc-ghc,vTurbine/ghc,sdiehl/ghc,ezyang/ghc,oldmanmike/ghc,shlevy/ghc,nkaretnikov/ghc,christiaanb/ghc,elieux/ghc,gridaphobe/ghc,tibbe/ghc,tibbe/ghc,vTurbine/ghc,GaloisInc/halvm-ghc,lukexi/ghc,oldmanmike/ghc,olsner/ghc,anton-dessiatov/ghc,forked-upstream-packages-for-ghcjs/ghc,GaloisInc/halvm-ghc,sgillespie/ghc,da-x/ghc,AlexanderPankiv/ghc,ghc-android/ghc,siddhanathan/ghc,urbanslug/ghc,elieux/ghc,anton-dessiatov/ghc,da-x/ghc,sgillespie/ghc,sdiehl/ghc,anton-dessiatov/ghc,da-x/ghc,gcampax/ghc,tjakway/ghcjvm,snoyberg/ghc,spacekitteh/smcghc,bitemyapp/ghc,forked-upstream-packages-for-ghcjs/ghc,frantisekfarka/ghc-dsi,fmthoma/ghc,sdiehl/ghc,shlevy/ghc,christiaanb/ghc,snoyberg/ghc,anton-dessiatov/ghc,mettekou/ghc,da-x/ghc,lukexi/ghc-7.8-arm64,frantisekfarka/ghc-dsi,acowley/ghc,anton-dessiatov/ghc,siddhanathan/ghc,wxwxwwxxx/ghc,tjakway/ghcjvm,shlevy/ghc,olsner/ghc,olsner/ghc,mfine/ghc,spacekitteh/smcghc,snoyberg/ghc,tjakway/ghcjvm,shlevy/ghc,nkaretnikov/ghc,TomMD/ghc,spacekitteh/smcghc,sdiehl/ghc,bitemyapp/ghc,ml9951/ghc,ghc-android/ghc,siddhanathan/ghc,vikraman/ghc,wxwxwwxxx/ghc,olsner/ghc,vTurbine/ghc,hferreiro/replay,ezyang/ghc,AlexanderPankiv/ghc,sgillespie/ghc,ryantm/ghc,hferreiro/replay,holzensp/ghc,GaloisInc/halvm-ghc,acowley/ghc,TomMD/ghc,mfine/ghc,sdiehl/ghc,gcampax/ghc,nathyong/microghc-ghc,lukexi/ghc,nushio3/ghc,da-x/ghc,mettekou/ghc,oldmanmike/ghc