Unverified Commit 0aacb00b authored by Michael Daniels's avatar Michael Daniels Committed by GitHub
Browse files

mesa: fix dylib rpath on darwin (#413053)

parents e2247e1c 336b25b0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -127,6 +127,10 @@ stdenv.mkDerivation {

  mesonBuildType = "release";

  postFixup = ''
    install_name_tool -add_rpath "$out/lib" "$out/lib/libGL.dylib"
  '';

  passthru = {
    # needed to pass evaluation of bad platforms
    driverLink = throw "driverLink not supported on darwin";