wine64Packages: fix mainProgram

This commit is contained in:
Shamrock Lee 2022-06-24 13:37:46 +08:00
parent 9bff958870
commit c2dbbe706b
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@
patches,
vkd3dArches,
moltenvk,
buildScript ? null, configureFlags ? []
buildScript ? null, configureFlags ? [], mainProgram ? "wine"
}:
with import ./util.nix { inherit lib; };
@ -198,6 +198,6 @@ stdenv.mkDerivation ((lib.optionalAttrs (buildScript != null) {
description = if supportFlags.waylandSupport then "An Open Source implementation of the Windows API on top of OpenGL and Unix (with experimental Wayland support)" else "An Open Source implementation of the Windows API on top of X, OpenGL, and Unix";
platforms = if supportFlags.waylandSupport then (lib.remove "x86_64-darwin" prevPlatforms) else prevPlatforms;
maintainers = with lib.maintainers; [ avnik raskin bendlas jmc-figueira ];
mainProgram = "wine";
inherit mainProgram;
};
})

View File

@ -28,6 +28,7 @@ in with src; {
monos = [ mono ];
configureFlags = [ "--enable-win64" ];
platforms = [ "x86_64-linux" "x86_64-darwin" ];
mainProgram = "wine64";
};
wineWow = callPackage ./base.nix {
pname = "wine-wow";