mesa: fix build on Darwin (#537990)

This commit is contained in:
Randy Eckenrode
2026-07-03 01:07:49 +00:00
committed by GitHub
@@ -59,13 +59,6 @@ stdenv.mkDerivation {
./opencl.patch
];
postPatch = ''
# Darwin only installs `swrast_dri.so`. It is symlinked to `libdril_dri.dylib`, but the script never terminates
# checking for `swrast_dri.dylib`, which isnt what will be created.
substituteInPlace bin/install_megadrivers.py \
--replace-fail " while ext != '.' + args.libname_suffix" " while ext != '.so'"
'';
outputs = [
"out"
"dev"