xorg.xorgserver: build with mesa-gl-headers

This commit is contained in:
K900
2025-03-11 22:16:24 +03:00
parent 971bb439e0
commit d744704463
+2 -2
View File
@@ -7,7 +7,7 @@
mesa, udev, bootstrap_cmds, bison, flex, clangStdenv, autoreconfHook,
mcpp, libepoxy, openssl, pkg-config, llvm, libxslt, libxcrypt, hwdata,
ApplicationServices, Carbon, Cocoa, Xplugin,
xorg, windows
xorg, windows, libgbm, mesa-gl-headers, dri-pkgconfig-stub
}:
let
@@ -791,7 +791,7 @@ self: super:
# We set it to /var/log which can't be touched from inside the sandbox causing the build to hard-fail
./dont-create-logdir-during-build.patch
];
buildInputs = commonBuildInputs ++ [ libdrm mesa ];
buildInputs = commonBuildInputs ++ [ libdrm libgbm mesa-gl-headers dri-pkgconfig-stub ];
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.libpciaccess ] ++ commonPropagatedBuildInputs ++ lib.optionals stdenv.hostPlatform.isLinux [
udev
];