From a9d91573e9c747e9aa96d3419f78311967da4c0e Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Thu, 30 Oct 2025 09:38:15 +0100 Subject: [PATCH] postgresqlPackages.anonymizer: fix maintainer pings Because of `lib.getAttrs`, `postgresqlPackages.anonymizer.meta.teamsPosition` returned the path to `lib/attrsets.nix`. This caused maintainer pings for that file for the maintainers of `postgresqlPackages.anonymizer`. Using regular `inherit` syntax moves the definition of the `teams` attribute in the right file and fixes the maintainer pings. --- pkgs/servers/sql/postgresql/ext/anonymizer.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/sql/postgresql/ext/anonymizer.nix b/pkgs/servers/sql/postgresql/ext/anonymizer.nix index 410bcd6966f8..23958e28a7cc 100644 --- a/pkgs/servers/sql/postgresql/ext/anonymizer.nix +++ b/pkgs/servers/sql/postgresql/ext/anonymizer.nix @@ -23,7 +23,8 @@ buildPgrxExtension { passthru.tests = nixosTests.postgresql.anonymizer.passthru.override postgresql; - meta = lib.getAttrs [ "homepage" "teams" "license" ] pg-dump-anon.meta // { + meta = { + inherit (pg-dump-anon.meta) homepage teams license; description = "Extension to mask or replace personally identifiable information (PII) or commercially sensitive data from a PostgreSQL database"; }; }