windows: set PYO3_CONFIG_FILE, use exec in wine-msys2

This commit is contained in:
Sebastien Bourdeauducq 2022-03-23 09:22:33 +08:00
parent d9be8d3978
commit 8b485f552b

View File

@ -102,6 +102,7 @@ in rec {
''
export WINEDEBUG=-all
export WINEPATH=Z:${msys2-env}/mingw64/bin\;Z:${llvm-nac3}/bin
${pkgs.wineWowPackages.stable}/bin/wine64 cmd
export PYO3_CONFIG_FILE=Z:${pyo3-mingw-config}
exec ${pkgs.wineWowPackages.stable}/bin/wine64 cmd
'';
}