wine: move packages that depend on "wine64" binary to require "wine"

according to upstream: "The wine64 loader binary is removed, in favor of
a single wine loader that selects the correct mode based on the binary
being executed. For binaries that have both 32-bit and 64-bit versions
installed, it defaults to 64-bit. The 32-bit version can then be
launched with an explicit path, e.g. wine
c:\\windows\\syswow64\\notepad.exe.",

I have changed all the references to the wine64 binary to only need the
wine binary -- tentative.
This commit is contained in:
hideyosh1
2026-02-04 17:27:11 -06:00
parent 3171f5a7bc
commit 2f293e1fe3
5 changed files with 11 additions and 11 deletions
@@ -77,7 +77,7 @@ in
"x86_64-linux"
"x86_64-darwin"
];
mainProgram = "wine64";
mainProgram = "wine";
};
wineWow = callPackage ./base.nix {
pname = "wine-wow";
@@ -112,7 +112,7 @@ in
];
};
platforms = [ "x86_64-linux" ];
mainProgram = "wine64";
mainProgram = "wine";
};
wineWow64 = callPackage ./base.nix {
pname = "wine-wow64";
+1 -1
View File
@@ -56,7 +56,7 @@ in
}
''
export HOME="$(mktemp -d)"
wine64 $exe help
wine $exe help
mkdir $out
'';
}
+1 -1
View File
@@ -145,7 +145,7 @@ export WINEDEBUG=-all
export WINEDLLOVERRIDES="mscoree,mshtml="
wine="wine"
wine64="wine64"
wine64="wine"
wineboot="wineboot"
# $PATH is the way for user to control where wine is located (including custom Wine versions).
+1 -1
View File
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
chmod +x $out/bin/vtfedit
cp ${icon} $out/share/icons/hicolor/256x256/apps/vtfedit.png
cp -r ${if wine.meta.mainProgram == "wine64" then "x64" else "x86"}/* $out/share/lib
cp -r ${if builtins.elem "i686-linux" wine.meta.platforms then "x86" else "x64"}/* $out/share/lib
cp ${./mimetype.xml} $out/share/mime/packages/vtfedit.xml
runHook postInstall
+6 -6
View File
@@ -22,16 +22,16 @@ stdenvNoCC.mkDerivation (finalAttrs: {
version = "3.43";
src = fetchurl (
if (wine.meta.mainProgram == "wine64") then
{
url = "https://download.mikrotik.com/routeros/winbox/${finalAttrs.version}/winbox64.exe";
hash = "sha256-W0HPUf2B6NCCaH9rUiFZz0q6IubfjtxIZyHU4JUHtuk=";
}
else
if (builtins.elem "i686-linux" wine.meta.platforms) then
{
url = "https://download.mikrotik.com/routeros/winbox/${finalAttrs.version}/winbox.exe";
hash = "sha256-pAOOTgmjQoXI2o2MKTDuOOpb7q0rb/zWATDNyAMOLms=";
}
else
{
url = "https://download.mikrotik.com/routeros/winbox/${finalAttrs.version}/winbox64.exe";
hash = "sha256-W0HPUf2B6NCCaH9rUiFZz0q6IubfjtxIZyHU4JUHtuk=";
}
);
dontUnpack = true;