Skip to content

Commit

Permalink
rclone: fix build on aarch64-darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
marsam authored and jwiegley committed Jul 7, 2023
1 parent 1c82828 commit cca63a3
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions pkgs/applications/networking/sync/rclone/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub, buildPackages, installShellFiles
{ lib, stdenv, buildGoModule, fetchFromGitHub, buildPackages, installShellFiles, fetchpatch
, makeWrapper
, enableCmount ? true, fuse, macfuse-stubs
}:
Expand All @@ -14,7 +14,16 @@ buildGoModule rec {
hash = "sha256-ojP1Uf9iP6kOlzW8qsUx1SnMRxFZLsgkjFD4LVH0oTI=";
};

vendorSha256 = "sha256-0YenfRa5udTrajPLI1ZMV+NYDHKO++M0KvIvr4gYLLc=";
patches = [
# Fix build on aarch64-darwin. Remove with the next release.
# https://github.com/rclone/rclone/pull/7099
(fetchpatch {
url = "https://github.com/rclone/rclone/commit/fb5125ecee4ae1061ff933bb3b9b19243e022241.patch";
hash = "sha256-3SzU9iiQM8zeL7VQhmq0G6e0km8WBRz4BSplRLE1vpM=";
})
];

vendorSha256 = "sha256-AXgyyI6ZbTepC/TGkHQvHiwpQOjzwG5ung71nKE5d1Y=";

subPackages = [ "." ];

Expand Down

0 comments on commit cca63a3

Please sign in to comment.