Skip to content

Commit

Permalink
rclone: use tag in version output to match upstream pre build binaries (
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Dec 15, 2024
2 parents 50cc943 + 58d6286 commit ce47474
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/networking/sync/rclone/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "rclone";
repo = "rclone";
rev = "v${version}";
tag = "v${version}";
hash = "sha256-3Al58jg+pYP46VbpIRbYBhMOG6m7OQaC0pxKawX12E8=";
};

Expand All @@ -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) ''
Expand Down

0 comments on commit ce47474

Please sign in to comment.