3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #204976 from bjornfor/nixos-borgbackup-fix-runtime-warning

This commit is contained in:
Naïm Favier 2022-12-10 16:51:19 +01:00 committed by GitHub
commit 4b79d6c374
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ let
'' + optionalString (cfg.prune.keep != { }) ''
borg prune $extraArgs \
${mkKeepArgs cfg} \
${optionalString (cfg.prune.prefix != null) "--prefix ${escapeShellArg cfg.prune.prefix} \\"}
${optionalString (cfg.prune.prefix != null) "--glob-archives ${escapeShellArg "${cfg.prune.prefix}*"}"} \
$extraPruneArgs
${cfg.postPrune}
'';