mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
1e14a900a5
From https://www.winehq.org/announce/8.0: "The vkd3d and LDAP libraries are bundled in the source tree and built as PE. The corresponding Unix libraries are no longer needed."
42 lines
1.3 KiB
Nix
42 lines
1.3 KiB
Nix
{ stdenv_32bit, lib, pkgs, pkgsi686Linux, pkgsCross, callPackage, moltenvk,
|
|
wineRelease ? "stable",
|
|
supportFlags
|
|
}:
|
|
|
|
let
|
|
src = lib.getAttr wineRelease (callPackage ./sources.nix {});
|
|
in with src; {
|
|
wine32 = pkgsi686Linux.callPackage ./base.nix {
|
|
pname = "wine";
|
|
inherit src version supportFlags patches moltenvk;
|
|
pkgArches = [ pkgsi686Linux ];
|
|
geckos = [ gecko32 ];
|
|
mingwGccs = with pkgsCross; [ mingw32.buildPackages.gcc ];
|
|
monos = [ mono ];
|
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
|
};
|
|
wine64 = callPackage ./base.nix {
|
|
pname = "wine64";
|
|
inherit src version supportFlags patches moltenvk;
|
|
pkgArches = [ pkgs ];
|
|
mingwGccs = with pkgsCross; [ mingwW64.buildPackages.gcc ];
|
|
geckos = [ gecko64 ];
|
|
monos = [ mono ];
|
|
configureFlags = [ "--enable-win64" ];
|
|
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
|
mainProgram = "wine64";
|
|
};
|
|
wineWow = callPackage ./base.nix {
|
|
pname = "wine-wow";
|
|
inherit src version supportFlags patches moltenvk;
|
|
stdenv = stdenv_32bit;
|
|
pkgArches = [ pkgs pkgsi686Linux ];
|
|
geckos = [ gecko32 gecko64 ];
|
|
mingwGccs = with pkgsCross; [ mingw32.buildPackages.gcc mingwW64.buildPackages.gcc ];
|
|
monos = [ mono ];
|
|
buildScript = ./builder-wow.sh;
|
|
platforms = [ "x86_64-linux" ];
|
|
mainProgram = "wine64";
|
|
};
|
|
}
|