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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user