From 6cf062877f092e3f10fa0c0a246808ba0e21c668 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Fri, 23 Dec 2022 02:01:16 +0100 Subject: [PATCH] freefilesync: add update script --- pkgs/applications/networking/freefilesync/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/networking/freefilesync/default.nix b/pkgs/applications/networking/freefilesync/default.nix index 75f4f56f53f..5ef5feb3a16 100644 --- a/pkgs/applications/networking/freefilesync/default.nix +++ b/pkgs/applications/networking/freefilesync/default.nix @@ -9,6 +9,7 @@ , libssh2 , openssl , wxGTK32 +, gitUpdater }: gcc12Stdenv.mkDerivation rec { @@ -88,6 +89,10 @@ gcc12Stdenv.mkDerivation rec { runHook postInstall ''; + passthru.updateScript = gitUpdater { + rev-prefix = "v"; + }; + meta = with lib; { description = "Open Source File Synchronization & Backup Software"; homepage = "https://freefilesync.org";