Wine: Difference between revisions

imported>Anpandey
m add wayland modifier
m 'wineWowPackages' is deprecated as it is no longer preferred by upstream. Use wineWow64Packages instead
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Wine is an application to run Windows applications and games.
== 32-bit and 64-bit Support ==
== 32-bit and 64-bit Support ==


Line 10: Line 11:


     # support both 32- and 64-bit applications
     # support both 32- and 64-bit applications
     wineWowPackages.stable
     wineWow64Packages.stable


     # support 32-bit only
     # support 32-bit only (read above!)
     wine
     wine


     # support 64-bit only
     # support 64-bit only
     (wine.override { wineBuild = "wine64"; })
     (wine.override { wineBuild = "wine64"; })
    # support 64-bit only
    wine64


     # wine-staging (version with experimental features)
     # wine-staging (version with experimental features)
     wineWowPackages.staging
     wineWow64Packages.staging


     # winetricks and other programs depending on wine need to use the same wine version
     # winetricks (all versions)
     (winetricks.override { wine = wineWowPackages.staging; })
     winetricks


     # native wayland support (unstable)
     # native wayland support (unstable)
     wineWowPackages.waylandFull
     wineWow64Packages.waylandFull
   ];
   ];
}</syntaxhighlight>
}</syntaxhighlight>


If you get the error <code>wine: '/path/to/your/wineprefix' is a 64-bit installation, it cannot be used with a 32-bit wineserver.</code>, then you need a 64-bit build like <code>wineWowPackages</code>.
If you get the error <code>wine: '/path/to/your/wineprefix' is a 64-bit installation, it cannot be used with a 32-bit wineserver.</code>, then you need a 64-bit build like <code>wineWow64Packages</code>.


The <code>override</code> method is mentioned in [https://nixos.org/nixos/manual/index.html#sec-customising-packages the manual].
The <code>override</code> method is mentioned in [https://nixos.org/nixos/manual/index.html#sec-customising-packages the manual].
[[Category:Applications]]
[[Category:Gaming]]