rclone: migrate to lib.cli.toCommandLineShellGNU
Replace deprecated lib.cli.toGNUCommandLineShell with lib.cli.toCommandLineShellGNU. This changes the behavior but `rclone` supports the `=` separator for its flags. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
7c5d9345ad
commit
312c4fe0bb
1 changed files with 2 additions and 2 deletions
|
|
@ -158,7 +158,7 @@ in
|
|||
description = ''
|
||||
An attribute set of option values passed to `rclone mount`. To set
|
||||
a boolean option, assign it `true` or `false`. See
|
||||
<https://nixos.org/manual/nixpkgs/stable/#function-library-lib.cli.toGNUCommandLineShell>
|
||||
<https://nixos.org/manual/nixpkgs/stable/#function-library-lib.cli.toCommandLineShellGNU>
|
||||
for more details on the format.
|
||||
|
||||
Some caching options are set by default, namely `vfs-cache-mode = "full"`
|
||||
|
|
@ -374,7 +374,7 @@ in
|
|||
ExecStart = lib.concatStringsSep " " [
|
||||
(lib.getExe cfg.package)
|
||||
"mount"
|
||||
(lib.cli.toGNUCommandLineShell { } mount.options)
|
||||
(lib.cli.toCommandLineShellGNU { } mount.options)
|
||||
"${remote-name}:${mount-path}"
|
||||
"${mount.mountPoint}"
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue