From a9b97f18d003ebca2e0b8a0c04fe14f02e4505be Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 25 Oct 2022 15:10:21 +0200 Subject: [PATCH] gnome.updateScript: Return explicitly set attr path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The update script currently requires attribute to be passed. Let’s return it using the commit feature. Otherwise, `update.nix` would use the attribute it first found for the commit message, which can be something like `emscriptenPackages.libxml2`. --- pkgs/desktops/gnome/update.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/desktops/gnome/update.nix b/pkgs/desktops/gnome/update.nix index 2f6384c5aa76..9f03be660ae5 100644 --- a/pkgs/desktops/gnome/update.nix +++ b/pkgs/desktops/gnome/update.nix @@ -63,6 +63,7 @@ let report = [ { + "attrPath": attr_path, "commitBody": f"https://gitlab.gnome.org/GNOME/{package_name}/-/compare/{package_version}...{latest_tag}", }, ]