From 58d62863d8b6e91f416f847f0166fa32325fd7f6 Mon Sep 17 00:00:00 2001 From: Ilya Grigoriev Date: Sat, 14 Dec 2024 15:12:42 -0800 Subject: [PATCH] rclone: use tag in version output to match upstream pre build binaries Before it was missing a `v`, which caused minor problems with fish shell https://github.com/fish-shell/fish-shell/commit/cc8fa0f7808130ece03f1c2ac0c95f9ede2aaa1d. --- pkgs/applications/networking/sync/rclone/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/sync/rclone/default.nix b/pkgs/applications/networking/sync/rclone/default.nix index 5bf4ac7eac68a..e821d7d3b1ff5 100644 --- a/pkgs/applications/networking/sync/rclone/default.nix +++ b/pkgs/applications/networking/sync/rclone/default.nix @@ -25,7 +25,7 @@ buildGoModule rec { src = fetchFromGitHub { owner = "rclone"; repo = "rclone"; - rev = "v${version}"; + tag = "v${version}"; hash = "sha256-3Al58jg+pYP46VbpIRbYBhMOG6m7OQaC0pxKawX12E8="; }; @@ -47,7 +47,7 @@ buildGoModule rec { ldflags = [ "-s" "-w" - "-X github.com/rclone/rclone/fs.Version=${version}" + "-X github.com/rclone/rclone/fs.Version=${src.tag}" ]; postConfigure = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''