Hi,

if I reubild the guix repository after a "make clean", I obtain this error message

```
 GEN      etc/openrc/guix-daemon
  GEN      etc/gnu-store.mount
  GEN      etc/guix-daemon.service
  GEN      etc/guix-publish.service
  GEN      etc/guix-gc.service
make[2]: *** No rule to make target 'etc/guix-gc.timer', needed by 'all-am'. Stop. make[2]: Leaving directory '/mnt/bcachefs/home/mzan/lavoro/admin/custom-guix-repo'
make[1]: *** [Makefile:6605: all-recursive] Error 1
make[1]: Leaving directory '/mnt/bcachefs/home/mzan/lavoro/admin/custom-guix-repo'
make: *** [Makefile:4623: all] Error 2
```

It seems this bug of 3 years ago https://issues.guix.gnu.org/50938 and the related patch https://lists.nongnu.org/archive/html/guix-patches/2021-09/msg01676.html

introduced again, by this recent patch

```
commit 3355de608cb2267435c2592fc7dc76a1dcc5c02d
Author: Efraim Flashner <efr...@flashner.co.il>
Date:   Wed Feb 26 09:53:39 2025 +0200

    nix: Install guix-gc systemd timer.

    * nix/local.mk (nodist_systemdservice_DATA): Add etc/guix-gc.timer.

    Change-Id: I6f71d68f77ff07976f9ec16c37dba99ebedd9b9d

diff --git a/nix/local.mk b/nix/local.mk
index 0d23a48a..262b6714 100644
--- a/nix/local.mk
+++ b/nix/local.mk
@@ -158,7 +158,8 @@ nodist_systemdservice_DATA =                        \
   etc/gnu-store.mount                          \
   etc/guix-daemon.service                      \
   etc/guix-publish.service                     \
-  etc/guix-gc.service
+  etc/guix-gc.service                          \
+  etc/guix-gc.timer

 etc/%.mount: etc/%.mount.in    \
                         $(top_builddir)/config.status
```



Reply via email to