mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Make "nix-env -i wine" work again
Also, make wine32 the default again to prevent a huge closure size regression. (It recently grew by ~1 GB: http://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.wineStable.x86_64-linux#tabs-charts) Issue #8990.
This commit is contained in:
parent
aa3b13549f
commit
60a0bb7f66
2 changed files with 5 additions and 6 deletions
|
@ -27,7 +27,7 @@ let sources = with lib.getAttr wineRelease (import ./versions.nix); {
|
|||
inherit (sources) version;
|
||||
in {
|
||||
wine32 = import ./base.nix {
|
||||
name = "wine32-${version}";
|
||||
name = "wine-${version}";
|
||||
inherit (sources) version src;
|
||||
inherit (pkgsi686Linux) lib stdenv;
|
||||
pkgArches = [ pkgsi686Linux ];
|
||||
|
@ -46,7 +46,7 @@ in {
|
|||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
wineWow = import ./base.nix {
|
||||
name = "wineWow-${version}";
|
||||
name = "wine-wow-${version}";
|
||||
inherit (sources) version src;
|
||||
inherit lib;
|
||||
stdenv = stdenv_32bit;
|
||||
|
|
|
@ -15149,14 +15149,13 @@ let
|
|||
|
||||
wavegain = callPackage ../applications/audio/wavegain { };
|
||||
|
||||
# Wine defaults to a mixed 64 / 32 build on x86_64 and to pure 32 on x86
|
||||
wine = callPackage ../misc/emulators/wine {
|
||||
wineRelease = config.wine.release or "stable";
|
||||
wineBuild = config.wine.build or (if system == "x86_64-linux" then "wineWow" else "wine32");
|
||||
wineBuild = config.wine.build or "wine32";
|
||||
};
|
||||
wineStable = wine.override { wineRelease = "stable"; };
|
||||
wineUnstable = wine.override { wineRelease = "unstable"; };
|
||||
wineStaging = wine.override { wineRelease = "staging"; };
|
||||
wineUnstable = lowPrio (wine.override { wineRelease = "unstable"; });
|
||||
wineStaging = lowPrio (wine.override { wineRelease = "staging"; });
|
||||
|
||||
winetricks = callPackage ../misc/emulators/wine/winetricks.nix {
|
||||
inherit (gnome2) zenity;
|
||||
|
|
Loading…
Reference in a new issue