From 8ec284b8c431bf7ba972ff23c07882e0ebbce301 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Tue, 19 Mar 2024 12:25:48 +0100 Subject: [PATCH] postgresqlPackages.pg_anonymizer: fix meta Previously the entire `meta` section from `pg-dump-anon` was copied over including `mainProgram` which doesn't belong here. To avoid similar issues, fields from the meta section of pg-dump-anon are copied over explicitly. --- pkgs/servers/sql/postgresql/ext/anonymizer.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/sql/postgresql/ext/anonymizer.nix b/pkgs/servers/sql/postgresql/ext/anonymizer.nix index b6ec0256ae09..4bb5aa544440 100644 --- a/pkgs/servers/sql/postgresql/ext/anonymizer.nix +++ b/pkgs/servers/sql/postgresql/ext/anonymizer.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: { EOF ''; - meta = pg-dump-anon.meta // { + meta = lib.getAttrs [ "homepage" "maintainers" "license" ] pg-dump-anon.meta // { description = "Extension to mask or replace personally identifiable information (PII) or commercially sensitive data from a PostgreSQL database"; }; })