From f42d6c1cd46913bb0948adb7c52c863a45533e5d Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Mon, 16 Feb 2026 11:35:02 -0800 Subject: [PATCH] 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. --- pkgs/applications/networking/cluster/hadoop/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/cluster/hadoop/default.nix b/pkgs/applications/networking/cluster/hadoop/default.nix index e8ad1bb31291..e592740d8129 100644 --- a/pkgs/applications/networking/cluster/hadoop/default.nix +++ b/pkgs/applications/networking/cluster/hadoop/default.nix @@ -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 {