Subject: Re: [bug#76169] [PATCH v8] home: Add home-restic-backup service.

From: Ludovic Courtès <[email-masked]>
Date: Mon, 12 May 2025 08:53:38 +0200

Hi,

Giacomo Leidi <[email-masked]> writes:

> * gnu/services/backup.scm: Drop mcron obsolete export.
> (restic-backup-job-program): Generalize to restic-program.
> (lower-restic-backup-job): New procedure implementing a standard way to
> lower restic-backup-job records into lists.
> (restic-program): Implement general way to run restic commands, for
> example to initialize repositories.
> (restic-backup-configuration): Reimplement
> with (guix records).
> (restic-backup-job-{logfile,command,requirement,modules}): Add new
> procedures and add support for Guix Home environments.
> (restic-backup-job->shepherd-service): Add support for Guix Home
> environments.
> (restic-backup-service-activation): Drop procedure as now the Shepherd
> takes care of creating timers log file directories.
> (restic-backup-service-type): Drop profile and activation services extensions.
> * gnu/home/services/backup.scm: New file.
> * gnu/local.mk: Add this.
> * doc/guix.texi: Document this.
>
> Change-Id: Ied1c0a5756b715fba176a0e42ea154246089e6be

We must be getting closer, but…

--8<---------------cut here---------------start------------->8---
[ 94%] LOAD     gnu/home/services/backup.scm
;;; note: source file ./gnu/services/backup.scm
;;;       newer than compiled /home/ludo/src/guix/gnu/services/backup.go
;;; note: source file ./gnu/services/backup.scm
;;;       newer than compiled /home/ludo/src/guix/gnu/services/backup.go
ice-9/eval.scm:293:34: error: maybe-list-of-symbols?: unbound variable
[1;36mhint: [0mDid you forget a `use-modules' form?

make[2]: *** [Makefile:7696: make-system-go] Error 1
--8<---------------cut here---------------end--------------->8---

Could you take a look?

Ludo’.