Wine: Difference between revisions
imported>Cwyc mention updating winetricks etc. |
imported>Anpandey m add wayland modifier |
||
Line 23: | Line 23: | ||
# winetricks and other programs depending on wine need to use the same wine version | # winetricks and other programs depending on wine need to use the same wine version | ||
(winetricks.override { wine = wineWowPackages.staging; }) | (winetricks.override { wine = wineWowPackages.staging; }) | ||
# native wayland support (unstable) | |||
wineWowPackages.waylandFull | |||
]; | ]; | ||
}</syntaxhighlight> | }</syntaxhighlight> |
Revision as of 08:15, 16 March 2022
32-bit and 64-bit Support
On x86_64-linux, the wine package supports by default both 32- and 64-bit applications. On every other platform, the wine package supports by default only 32-bit applications.
These defaults can however be overwritten like this:
{
environment.systemPackages = with pkgs; [
# ...
# support both 32- and 64-bit applications
wineWowPackages.stable
# support 32-bit only
wine
# support 64-bit only
(wine.override { wineBuild = "wine64"; })
# wine-staging (version with experimental features)
wineWowPackages.staging
# winetricks and other programs depending on wine need to use the same wine version
(winetricks.override { wine = wineWowPackages.staging; })
# native wayland support (unstable)
wineWowPackages.waylandFull
];
}
If you get the error wine: '/path/to/your/wineprefix' is a 64-bit installation, it cannot be used with a 32-bit wineserver.
, then you need a 64-bit build like wineWowPackages
.
The override
method is mentioned in the manual.