From 74c1b8deb249adc6d550f411f4ff95f256a24e9c Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 12 Apr 2019 19:37:17 +0200 Subject: [PATCH] gnome3.updateScript: implement commit feature --- pkgs/desktops/gnome-3/update.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/gnome-3/update.nix b/pkgs/desktops/gnome-3/update.nix index 1bceddf77eb5..78cefdd0b0a7 100644 --- a/pkgs/desktops/gnome-3/update.nix +++ b/pkgs/desktops/gnome-3/update.nix @@ -21,6 +21,9 @@ let version_policy="$3" PATH=${lib.makeBinPath [ common-updater-scripts python ]} latest_tag=$(python "${./find-latest-version.py}" "$package_name" "$version_policy" "stable" ${upperBoundFlag}) - update-source-version "$attr_path" "$latest_tag" + update-source-version "$attr_path" "$latest_tag" --print-changes ''; -in [ updateScript packageName attrPath versionPolicy ] +in { + command = [ updateScript packageName attrPath versionPolicy ]; + supportedFeatures = [ "commit" ]; +}