Unverified Commit 77cffbb3 authored by K900's avatar K900 Committed by GitHub
Browse files

xorg.xf86videovmware: fix 3d support with mesa (#392492)

parents 7313a1e9 6d11b756
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -200,7 +200,11 @@ in stdenv.mkDerivation {

    (lib.mesonBool "gallium-nine" false) # Direct3D9 in Wine, largely supplanted by DXVK
    (lib.mesonBool "osmesa" false) # deprecated upstream
    (lib.mesonEnable "gallium-xa" false) # old and mostly dead

    # Only used by xf86-video-vmware, which has more features than VMWare's KMS driver,
    # so we're keeping it for now. Should be removed when that's no longer the case.
    # See: https://github.com/NixOS/nixpkgs/pull/392492
    (lib.mesonEnable "gallium-xa" true)

    (lib.mesonBool "teflon" true) # TensorFlow frontend

+1 −0
Original line number Diff line number Diff line
@@ -604,6 +604,7 @@ self: super:
  });

  xf86videovmware = super.xf86videovmware.overrideAttrs (attrs: {
    buildInputs = attrs.buildInputs ++ [ mesa ];
    env.NIX_CFLAGS_COMPILE = toString [ "-Wno-error=address" ]; # gcc12
    meta = attrs.meta // {
      platforms = ["i686-linux" "x86_64-linux"];