forked from M-Labs/artiq-extrapkg
msys2: export wine-msys2
This commit is contained in:
parent
41e14e4997
commit
cc8deef208
|
@ -16,6 +16,12 @@ let
|
|||
</fontconfig>
|
||||
EOF
|
||||
'';
|
||||
wine-msys2 = pkgs.writeShellScriptBin "wine-msys2"
|
||||
''
|
||||
export WINEDEBUG=-all
|
||||
export WINEPATH=Z:${msys2-env}/mingw64/bin
|
||||
exec ${pkgs.wineWowPackages.stable}/bin/wine64 cmd
|
||||
'';
|
||||
wine-msys2-build = pkgs.writeShellScriptBin "wine-msys2-build"
|
||||
''
|
||||
export HOME=`mktemp -d`
|
||||
|
@ -25,6 +31,7 @@ let
|
|||
exec ${pkgs.wineWowPackages.stable}/bin/wine64 $@
|
||||
'';
|
||||
in {
|
||||
inherit wine-msys2;
|
||||
makeMsys2Package = { name, version, src, depends, prepare ? "" }: pkgs.stdenvNoCC.mkDerivation {
|
||||
pname = "${name}-msys2-pkg";
|
||||
inherit version;
|
||||
|
|
Loading…
Reference in New Issue