mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
ee1cc78333
This reverts commit 24835df322
.
37 lines
1.0 KiB
Nix
37 lines
1.0 KiB
Nix
{ system, stdenv, stdenv_32bit, lib, pkgs, pkgsi686Linux, callPackage, callPackage_i686,
|
|
wineRelease ? "stable",
|
|
supportFlags
|
|
}:
|
|
|
|
let src = lib.getAttr wineRelease (callPackage ./sources.nix {});
|
|
in with src; {
|
|
wine32 = callPackage_i686 ./base.nix {
|
|
name = "wine-${version}";
|
|
inherit src version supportFlags;
|
|
pkgArches = [ pkgsi686Linux ];
|
|
geckos = [ gecko32 ];
|
|
monos = [ mono ];
|
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
|
};
|
|
wine64 = callPackage ./base.nix {
|
|
name = "wine64-${version}";
|
|
inherit src version supportFlags;
|
|
pkgArches = [ pkgs ];
|
|
geckos = [ gecko64 ];
|
|
monos = [ mono ];
|
|
configureFlags = [ "--enable-win64" ];
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
wineWow = callPackage ./base.nix {
|
|
name = "wine-wow-${version}";
|
|
inherit src version supportFlags;
|
|
stdenv = stdenv_32bit;
|
|
pkgArches = [ pkgs pkgsi686Linux ];
|
|
geckos = [ gecko32 gecko64 ];
|
|
monos = [ mono ];
|
|
buildScript = ./builder-wow.sh;
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
}
|
|
|