Wine

From NixOS Wiki
Revision as of 11:49, 27 August 2017 by imported>Fadenb (Syntaxhighlight)

Both 32bit and 64bit Support

The default wine package only supports 32bit apps, to make it work with 64bit as well you have to override the wineBuild option like this:

{
  environment.systemPackages = with pkgs; [
      #...
      (wine.override { wineBuild = "wineWow"; })

      # use the following variant to get a 64bit only wine
      #(wine.override { wineBuild = "wine64"; })
      # wineStaging also accepts the wineBuild argument
      #(wineStaging.override { wineBuild = "wineWow"; })
      #...
  ];
}

The override method is mentioned in the manual.