mesa: fix build on Darwin

Mesa 26.1.4 includes commit[1] which makes installed Gallium
driver names use libname_suffix. Remove obsolete workaround.

[1]: https://gitlab.freedesktop.org/mesa/mesa/-/commit/ad9e702a79e6c4603004eb0fe378abac4274777d
This commit is contained in:
Ihar Hrachyshka
2026-07-02 20:50:34 -04:00
parent 0ebe44573f
commit b9c2759bb5
@@ -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"