mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
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]:ad9e702a79(cherry picked from commitb9c2759bb5)
This commit is contained in:
committed by
github-actions[bot]
parent
a78b82499a
commit
bef13e6ec6
@@ -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 isn’t what will be created.
|
||||
substituteInPlace bin/install_megadrivers.py \
|
||||
--replace-fail " while ext != '.' + args.libname_suffix" " while ext != '.so'"
|
||||
'';
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"dev"
|
||||
|
||||
Reference in New Issue
Block a user