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.
This commit is contained in:
Ilya Grigoriev
2024-12-15 19:13:08 +01:00
committed by Sandro Jäckel
parent 51f97c56c7
commit 58d62863d8
@@ -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) ''