Unverified Commit a26cc51f authored by Paul Grandperrin's avatar Paul Grandperrin Committed by GitHub
Browse files

rclone: add filesystem helpers (#258487)

This adds two symlinks to rclone: rclonefs and mount.rclone

fixes #258478
parent 4d513ab5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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.