windows: add wine-msys2-build

iterators
Sebastien Bourdeauducq 2022-04-05 10:06:36 +08:00
parent 75c53b40a3
commit 8eda0affc9
1 changed files with 8 additions and 0 deletions

View File

@ -159,4 +159,12 @@ in rec {
export PYO3_CONFIG_FILE=Z:${pyo3-mingw-config}
exec ${pkgs.wineWowPackages.stable}/bin/wine64 cmd
'';
wine-msys2-build = pkgs.writeShellScriptBin "wine-msys2-build"
''
export HOME=`mktemp -d`
export WINEDEBUG=-all
export WINEPATH=Z:${msys2-env}/mingw64/bin
${silenceFontconfig}
exec ${pkgs.wineWowPackages.stable}/bin/wine64 $@
'';
}