Wine

From NixOS Wiki
Revision as of 18:14, 21 August 2017 by imported>Makefu (initial batch of nixos-users)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.