From a26cc51f231fdb21e312feeb84d013b6b7851153 Mon Sep 17 00:00:00 2001 From: Paul Grandperrin Date: Sat, 21 Oct 2023 20:45:18 +0200 Subject: rclone: add filesystem helpers (#258487) This adds two symlinks to rclone: rclonefs and mount.rclone fixes #258478 --- pkgs/applications/networking/sync/rclone/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/networking/sync/rclone/default.nix b/pkgs/applications/networking/sync/rclone/default.nix index 2e6dd8fa7fde5..cad0829b9c2bb 100644 --- a/pkgs/applications/networking/sync/rclone/default.nix +++ b/pkgs/applications/networking/sync/rclone/default.nix @@ -41,6 +41,10 @@ buildGoModule rec { ${rcloneBin}/bin/rclone genautocomplete $shell rclone.$shell installShellCompletion rclone.$shell done + + # filesystem helpers + ln -s $out/bin/rclone $out/bin/rclonefs + ln -s $out/bin/rclone $out/bin/mount.rclone '' + lib.optionalString (enableCmount && !stdenv.isDarwin) # use --suffix here to ensure we don't shadow /run/wrappers/bin/fusermount, # as the setuid wrapper is required as non-root on NixOS. -- cgit 1.4.1