hadoop: replace recursiveUpdate with // for meta

Replace `lib.recursiveUpdate` with `//` so that
`builtins.unsafeGetAttrPos` can find `meta.description` at its
definition site, making the `pos = __curPos` workaround unnecessary.
This commit is contained in:
Philip Taron
2026-03-19 11:45:36 -07:00
parent ae276351ab
commit f42d6c1cd4
@@ -144,9 +144,7 @@ let
passthru = { inherit tests; };
# The recursiveUpdate below breaks default meta.position, so manually override it.
pos = __curPos;
meta = lib.recursiveUpdate {
meta = {
homepage = "https://hadoop.apache.org/";
description = "Framework for distributed processing of large data sets across clusters of computers";
license = lib.licenses.asl20;
@@ -165,7 +163,7 @@ let
'';
maintainers = with lib.maintainers; [ illustris ];
platforms = lib.attrNames platformAttrs;
} (lib.attrByPath [ stdenv.system "meta" ] { } platformAttrs);
};
});
in
{