nixos/borgbackup: fix extraCompactArgs

Fixes the extraCompactArgs introduced with #224072 as the variable
currently isn't added to the script's environment.
This commit is contained in:
Sophie Tauchert 2023-05-12 21:01:14 +02:00 committed by Bjørn Forsman
parent 3cd664912c
commit 8af23590d3

View file

@ -109,7 +109,7 @@ let
};
environment = {
BORG_REPO = cfg.repo;
inherit (cfg) extraArgs extraInitArgs extraCreateArgs extraPruneArgs;
inherit (cfg) extraArgs extraInitArgs extraCreateArgs extraPruneArgs extraCompactArgs;
} // (mkPassEnv cfg) // cfg.environment;
};