anchor.diff:        # Move other drivers to a separate output
         mv $out/lib/lib*_mesa* $drivers/lib
       fi
  -
  -    # move vendor files
  -    mv $out/share/ $drivers/
   
       # Update search path used by glvnd
       for js in $drivers/share/glvnd/egl_vendor.d/*.json; do
  
positive.code:     substituteInPlace meson.build --replace \
        "find_program('pkg-config')" \
        "find_program('${buildPackages.pkg-config.targetPrefix}pkg-config')"
    '';
  
    outputs = [ "out" "dev" "drivers" ] ++ lib.optional enableOSMesa "osmesa";
  
negative.code:   # TODO: Figure out how to enable opencl without having a runtime dependency on clang
    mesonFlags = [
      "--sysconfdir=/etc"
      "--datadir=${placeholder "drivers"}/share" # Vendor files
  
      # Don't build in debug mode
      # https://gitlab.freedesktop.org/mesa/mesa/blob/master/docs/meson.html#L327
  