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>
|
</fontconfig>
|
||||||
EOF
|
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"
|
wine-msys2-build = pkgs.writeShellScriptBin "wine-msys2-build"
|
||||||
''
|
''
|
||||||
export HOME=`mktemp -d`
|
export HOME=`mktemp -d`
|
||||||
@ -25,6 +31,7 @@ let
|
|||||||
exec ${pkgs.wineWowPackages.stable}/bin/wine64 $@
|
exec ${pkgs.wineWowPackages.stable}/bin/wine64 $@
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
|
inherit wine-msys2;
|
||||||
makeMsys2Package = { name, version, src, depends, prepare ? "" }: pkgs.stdenvNoCC.mkDerivation {
|
makeMsys2Package = { name, version, src, depends, prepare ? "" }: pkgs.stdenvNoCC.mkDerivation {
|
||||||
pname = "${name}-msys2-pkg";
|
pname = "${name}-msys2-pkg";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
Loading…
Reference in New Issue
Block a user