diff --git a/backup.nix b/backup.nix index 88c588a..4009b3f 100644 --- a/backup.nix +++ b/backup.nix @@ -20,7 +20,7 @@ let notifyErrorPkg = pkgs.writeShellApplication { name = "notify-error"; - runtimeInputs = [ pkgs.system-sendmail ]; + runtimeInputs = [ pkgs.system-sendmail pkgs.coreutils ]; text = '' from="noreply+$1@admin.egirls.gay" @@ -119,14 +119,13 @@ in { invocationId="$(systemctl show --value -p InvocationID misskey-backup.service)" logs="$(journalctl _SYSTEMD_INVOCATION_ID= -u misskey-backup.service)" - ${notifyErrorPkg}/bin/notify-error "backup" "Misskey Backup Failure Notification" "$(<