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

This commit is contained in:
K900
2025-03-31 10:20:10 +03:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -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
View File
@@ -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"];