From 312c4fe0bbf054e3c87ebad51792f2e6d2ce4f01 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Wed, 7 Jan 2026 22:18:14 -0600 Subject: [PATCH] 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 --- modules/programs/rclone.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/programs/rclone.nix b/modules/programs/rclone.nix index df1a8a21..8f85fc09 100644 --- a/modules/programs/rclone.nix +++ b/modules/programs/rclone.nix @@ -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 - + 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}" ];