diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2023-07-08 16:43:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-08 16:43:34 -0500 |
commit | a0c6cb3272daa78248ed07d072b274790abfafaa (patch) | |
tree | db73b825fc9693fa3777e72219755580a0ac9947 | |
parent | 0b25b4c7c97eb07f883e44c62ada3bdbd368ecc5 (diff) | |
parent | 3d30a2c8a17a1d5e8201cf59a969d08a0ed70fd4 (diff) |
Merge pull request #242040 from dotlambda/librclone-fix
librclone: fix build
-rw-r--r-- | pkgs/applications/networking/sync/rclone/default.nix | 5 | ||||
-rw-r--r-- | pkgs/development/libraries/librclone/default.nix | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/networking/sync/rclone/default.nix b/pkgs/applications/networking/sync/rclone/default.nix index a7b269378ea83..4900b95469520 100644 --- a/pkgs/applications/networking/sync/rclone/default.nix +++ b/pkgs/applications/networking/sync/rclone/default.nix @@ -1,6 +1,7 @@ { lib, stdenv, buildGoModule, fetchFromGitHub, buildPackages, installShellFiles, fetchpatch , makeWrapper , enableCmount ? true, fuse, macfuse-stubs +, librclone }: buildGoModule rec { @@ -58,6 +59,10 @@ buildGoModule rec { --prefix LD_LIBRARY_PATH : "${fuse}/lib" ''; + passthru.tests = { + inherit librclone; + }; + meta = with lib; { description = "Command line program to sync files and directories to and from major cloud storage"; homepage = "https://rclone.org"; diff --git a/pkgs/development/libraries/librclone/default.nix b/pkgs/development/libraries/librclone/default.nix index 3b8bf83364c95..3c6a1f407f652 100644 --- a/pkgs/development/libraries/librclone/default.nix +++ b/pkgs/development/libraries/librclone/default.nix @@ -8,7 +8,7 @@ let ext = stdenv.hostPlatform.extensions.sharedLibrary; in buildGoModule rec { pname = "librclone"; - inherit (rclone) version src vendorSha256; + inherit (rclone) version src patches vendorSha256; buildPhase = '' runHook preBuild |