From 6eb8fe47c4cac53956dfbd4be9b0d7727d193b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 22 Feb 2024 15:42:19 +0100 Subject: [PATCH] borgbackup: drop comment from string Looks weird in the logs. --- clanModules/borgbackup.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/clanModules/borgbackup.nix b/clanModules/borgbackup.nix index 123b84b3..06358e6f 100644 --- a/clanModules/borgbackup.nix +++ b/clanModules/borgbackup.nix @@ -73,10 +73,9 @@ in clanCore.backups.providers.borgbackup = { # TODO list needs to run locally or on the remote machine list = '' - ${lib.concatMapStringsSep "\n" (dest: '' - # we need yes here to skip the changed url verification - yes y | borg-job-${dest.name} list --json | jq -r '. + {"job-name": "${dest.name}"}' - '') (lib.attrValues cfg.destinations)} + # we need yes here to skip the changed url verification + ${lib.concatMapStringsSep "\n" (dest: ''yes y | borg-job-${dest.name} list --json | jq -r '. + {"job-name": "${dest.name}"}' '') + (lib.attrValues cfg.destinations)} ''; create = '' ${lib.concatMapStringsSep "\n" (dest: ''