xorg.xorgserver: apply upstream patch

This fixes xorg.xf86videovmware build (channel blocker).
main
Vladimír Čunát 3 years ago
parent 40c3bc3b08
commit 0649fcdf26
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
  1. 8
      pkgs/servers/x11/xorg/overrides.nix

@ -648,6 +648,14 @@ 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
# Fix e.g. xorg.xf86videovmware with libdrm 2.4.108
# TODO: remove with xorgserver >= 1.21
(fetchpatch {
name = "stdbool.patch";
url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/454b3a826edb5fc6d0fea3a9cfd1a5e8fc568747.diff";
sha256 = "1l9qg905jvlw3r0kx4xfw5m12pbs0782v2g3267d1m6q4m6fj1zy";
})
];
buildInputs = commonBuildInputs ++ [ libdrm mesa ];
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ libpciaccess libepoxy ] ++ commonPropagatedBuildInputs ++ lib.optionals stdenv.isLinux [

Loading…
Cancel
Save