Unverified Commit a0c6cb32 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #242040 from dotlambda/librclone-fix

librclone: fix build
parents 0b25b4c7 3d30a2c8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
{ 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";
+1 −1
Original line number Diff line number Diff line
@@ -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