windows: add wine-msys2-build
This commit is contained in:
parent
75c53b40a3
commit
8eda0affc9
|
@ -159,4 +159,12 @@ in rec {
|
||||||
export PYO3_CONFIG_FILE=Z:${pyo3-mingw-config}
|
export PYO3_CONFIG_FILE=Z:${pyo3-mingw-config}
|
||||||
exec ${pkgs.wineWowPackages.stable}/bin/wine64 cmd
|
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 $@
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue