about summary refs log tree commit diff
path: root/pkgs/applications/networking/sync
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-09-21 04:23:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2019-09-21 04:23:00 -0500
commita727f4795b2b2862f118c9a00358e3bdc9e352a8 (patch)
tree85883a0550782d28876c65ef827de59859bdad13 /pkgs/applications/networking/sync
parent2f87a2ef7ef92a6cf1f1399db9eb03fe6bc22a19 (diff)
rclone: use buildGoPackage
Diffstat (limited to 'pkgs/applications/networking/sync')
-rw-r--r--pkgs/applications/networking/sync/rclone/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/networking/sync/rclone/default.nix b/pkgs/applications/networking/sync/rclone/default.nix
index aa0870ea85881..5e9945492de55 100644
--- a/pkgs/applications/networking/sync/rclone/default.nix
+++ b/pkgs/applications/networking/sync/rclone/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, buildGoModule, fetchFromGitHub }:
+{ stdenv, buildGoPackage, fetchFromGitHub }:
 
-buildGoModule rec {
+buildGoPackage rec {
   pname = "rclone";
   version = "1.49.3";
 
@@ -11,11 +11,11 @@ buildGoModule rec {
     sha256 = "0dd5xrbf62n4y77zzaai1rc069ism1ikvcw43hzja3mzwfa0sqqa";
   };
 
-  modSha256 = "158mpmy8q67dk1ks9p926n1670gsk7rhd0vpjh44f4g64ddnhk03";
+  goPackagePath = "github.com/rclone/rclone";
 
   subPackages = [ "." ];
 
-  outputs = [ "out" "man" ];
+  outputs = [ "bin" "out" "man" ];
 
   postInstall = ''
     install -D -m644 $src/rclone.1 $man/share/man/man1/rclone.1