From a7a20d0109c597dde914a42a3c64ce770458c9df Mon Sep 17 00:00:00 2001 From: Lin Jian Date: Thu, 17 Aug 2023 09:02:19 +0800 Subject: [PATCH] picom-next: add meta.maintainers correctly The old way of setting meta.maintainers removes other meta attributes such as meta.mainProgram. --- pkgs/applications/window-managers/picom/picom-next.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/window-managers/picom/picom-next.nix b/pkgs/applications/window-managers/picom/picom-next.nix index e26519b034ef..22c748088074 100644 --- a/pkgs/applications/window-managers/picom/picom-next.nix +++ b/pkgs/applications/window-managers/picom/picom-next.nix @@ -29,5 +29,7 @@ picom.overrideAttrs (oldAttrs: { hash = "sha256-Mzf0533roLSODjMCPKyGSMbP7lIbT+PoLTZfoIBAI6g="; }; - meta.maintainers = with lib.maintainers; oldAttrs.meta.maintainers ++ [ GKasparov ]; + meta = oldAttrs.meta // { + maintainers = with lib.maintainers; oldAttrs.meta.maintainers ++ [ GKasparov ]; + }; })