mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 01:17:28 +03:00
rclone: add filesystem helpers (#258487)
This adds two symlinks to rclone: rclonefs and mount.rclone fixes #258478
This commit is contained in:
parent
4d513ab5f1
commit
a26cc51f23
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user