xorg.xf86videovmware: fix 3d support with mesa (#392492)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user