git.iko.soy/typeable/nixpkgs
on master help sign in
wine64: fix eval on Darwin

On darwin, mesa doesn't have an osmesa output which means the attr is missing which causes an eval error when building the package list (missing attr eval errors are not recoverable). OpenGL support should be covered by the darwin deps already, so these libraries shouldn't be needed on Darwin.

commit7aa540aa92ee9793ef97eb4ebaf0d53ac84d87f2 authorAtemu <atemu.main@gmail.com> dateTue 28 Sep 2021, 00:12 (5 years ago) parenta3735ea
1 file changed+1−1
pkgs/misc/emulators/wine/base.nix+1−1
pkgs/misc/emulators/wine/base.nix+1−1
@@ -74,7 +74,7 @@ stdenv.mkDerivation ((lib.optionalAttrs (buildScript != null) {
7474 ++ lib.optionals openclSupport [ pkgs.opencl-headers pkgs.ocl-icd ]
7575 ++ lib.optionals xmlSupport [ pkgs.libxml2 pkgs.libxslt ]
7676 ++ lib.optionals tlsSupport [ pkgs.openssl pkgs.gnutls ]
77− ++ lib.optionals openglSupport [ pkgs.libGLU pkgs.libGL pkgs.mesa.osmesa pkgs.libdrm ]
77+ ++ lib.optionals (openglSupport && !stdenv.isDarwin) [ pkgs.libGLU pkgs.libGL pkgs.mesa.osmesa pkgs.libdrm ]
7878 ++ lib.optionals stdenv.isDarwin (with pkgs.buildPackages.darwin.apple_sdk.frameworks; [
7979 CoreServices Foundation ForceFeedback AppKit OpenGL IOKit DiskArbitration Security
8080 ApplicationServices AudioToolbox CoreAudio AudioUnit CoreMIDI OpenAL OpenCL Cocoa Carbon