diff --git a/pkgs/development/libraries/mesa/darwin.nix b/pkgs/development/libraries/mesa/darwin.nix index d683cc3bfe89..fb64f9e70d60 100644 --- a/pkgs/development/libraries/mesa/darwin.nix +++ b/pkgs/development/libraries/mesa/darwin.nix @@ -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"