From 55d279809c7e4d876e137819d1e6c6d0fe28d66a Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Fri, 22 Apr 2022 09:38:47 -0400 Subject: [PATCH] wine-packages: fix Hydra build failures on Darwin Disable Vulkan and VKD3D by default on Darwin while MoltenVK is forced to build using Xcode instead of the SDK in nixpkgs. They can be overriden if the user needs either of those. --- pkgs/top-level/wine-packages.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/wine-packages.nix b/pkgs/top-level/wine-packages.nix index c8bdaeb426e..d50b979fdce 100644 --- a/pkgs/top-level/wine-packages.nix +++ b/pkgs/top-level/wine-packages.nix @@ -12,7 +12,8 @@ rec { fontconfigSupport = stdenv.isLinux; alsaSupport = stdenv.isLinux; openglSupport = true; - vulkanSupport = true; + # Works on Darwin but disabled by default to prevent Hydra build failures due to MoltenVK. + vulkanSupport = stdenv.isLinux; tlsSupport = true; cupsSupport = true; dbusSupport = stdenv.isLinux; @@ -40,7 +41,8 @@ rec { gphoto2Support = true; krb5Support = true; ldapSupport = true; - vkd3dSupport = true; + # Works on Darwin but disabled by default to prevent Hydra build failures due to MoltenVK. + vkd3dSupport = stdenv.isLinux; embedInstallers = true; };