build: Don’t delete ‘guix-gc.timer’ file.
authorXinglu Chen <public@yoctocell.xyz>
Tue, 28 Sep 2021 15:27:32 +0000 (17:27 +0200)
committerMathieu Othacehe <othacehe@gnu.org>
Fri, 1 Oct 2021 08:58:06 +0000 (08:58 +0000)
Without this invoking ‘make clean’ would remove ‘guix-gc.timer’, and ‘make’
would fail with.

  make[2]: *** No rule to make target 'etc/guix-gc.timer', needed by 'all-am'.  Stop.

* nix/local.mk (nodist_systemdservice_DATA): Remove ‘guix-gc.timer’.

nix/local.mk

index d6b4d7f..44a26dd 100644 (file)
@@ -154,8 +154,7 @@ nodist_systemdservice_DATA =                        \
   etc/gnu-store.mount                          \
   etc/guix-daemon.service                      \
   etc/guix-publish.service                     \
-  etc/guix-gc.service                          \
-  etc/guix-gc.timer
+  etc/guix-gc.service
 
 etc/%.mount: etc/%.mount.in    \
                         $(top_builddir)/config.status