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
2 changed files with 6 additions and 1 deletions
@@ -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";
@@ -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