Merge pull request #242040 from dotlambda/librclone-fix

librclone: fix build
This commit is contained in:
Mario Rodas 2023-07-08 16:43:34 -05:00 committed by GitHub
commit a0c6cb3272
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -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";

View File

@ -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