Commit 0ed30b0f authored by Yureka's avatar Yureka
Browse files

mesa: expose built platforms as passthru

This is useful when overriding mesa to remove or add specific platforms to the existing set
parent beac1996
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -396,6 +396,12 @@ stdenv.mkDerivation {
  passthru = {
    inherit (libglvnd) driverLink;
    inherit llvmPackages;
    inherit
      eglPlatforms
      galliumDrivers
      vulkanDrivers
      vulkanLayers
      ;

    # for compatibility
    drivers = lib.warn "`mesa.drivers` is deprecated, use `mesa` instead" mesa;