From 43ce4eae1b653c2b1a984a417d82e87174c38f68 Mon Sep 17 00:00:00 2001 From: Sizhe Zhao Date: Mon, 19 May 2025 10:54:09 +0800 Subject: [PATCH] treewide: rm empty inherit --- pkgs/applications/editors/geany/with-vte.nix | 12 +++++++++++- pkgs/by-name/rp/rpcemu/package.nix | 4 +--- pkgs/desktops/mate/caja/with-extensions.nix | 2 +- pkgs/desktops/mate/mate-panel/with-applets.nix | 2 +- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/editors/geany/with-vte.nix b/pkgs/applications/editors/geany/with-vte.nix index c896cb8df25e..30a7862e5c66 100644 --- a/pkgs/applications/editors/geany/with-vte.nix +++ b/pkgs/applications/editors/geany/with-vte.nix @@ -24,5 +24,15 @@ symlinkJoin { --prefix LD_LIBRARY_PATH : ${vte}/lib ''; - inherit (geany.meta) ; + meta = { + inherit (geany.meta) + description + longDescription + homepage + license + maintainers + platforms + mainProgram + ; + }; } diff --git a/pkgs/by-name/rp/rpcemu/package.nix b/pkgs/by-name/rp/rpcemu/package.nix index 390dc873b913..aa6c5e4f9d89 100644 --- a/pkgs/by-name/rp/rpcemu/package.nix +++ b/pkgs/by-name/rp/rpcemu/package.nix @@ -59,9 +59,7 @@ stdenv.mkDerivation (finalAttrs: { using them with RPCEmu. ''; license = lib.licenses.gpl2Plus; - maintainers = builtins.attrValues { - inherit (lib.maintainers) ; - }; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.linux; }; }) diff --git a/pkgs/desktops/mate/caja/with-extensions.nix b/pkgs/desktops/mate/caja/with-extensions.nix index b3ccc7c00c35..6c1e7c873174 100644 --- a/pkgs/desktops/mate/caja/with-extensions.nix +++ b/pkgs/desktops/mate/caja/with-extensions.nix @@ -63,5 +63,5 @@ stdenv.mkDerivation { ) ''; - inherit (caja.meta) ; + inherit (caja) meta; } diff --git a/pkgs/desktops/mate/mate-panel/with-applets.nix b/pkgs/desktops/mate/mate-panel/with-applets.nix index 422f60e5d84c..98aa4ecd39ea 100644 --- a/pkgs/desktops/mate/mate-panel/with-applets.nix +++ b/pkgs/desktops/mate/mate-panel/with-applets.nix @@ -62,5 +62,5 @@ stdenv.mkDerivation { ) ''; - inherit (mate-panel.meta) ; + inherit (mate-panel) meta; }