mesa: add patch to link radv with build-id
Without this, the radv cache uuid would fall back to using the timestamps of the radv and llvm shared libraries, which are fixed in /nix/store. This caused cache collisons, which resulted in crashes (e.g. #92807).
This commit is contained in:
@@ -58,6 +58,7 @@ stdenv.mkDerivation {
|
||||
./missing-includes.patch # dev_t needs sys/stat.h, time_t needs time.h, etc.-- fixes build w/musl
|
||||
./opencl-install-dir.patch
|
||||
./disk_cache-include-dri-driver-path-in-cache-key.patch
|
||||
./link-radv-with-ld_args_build_id.patch
|
||||
] # do not prefix user provided dri-drivers-path
|
||||
++ lib.optional (lib.versionOlder version "19.0.0") (fetchpatch {
|
||||
url = "https://gitlab.freedesktop.org/mesa/mesa/commit/f6556ec7d126b31da37c08d7cb657250505e01a0.patch";
|
||||
|
||||
Reference in New Issue
Block a user