Subject: bug#50938: closed (Re: bug#50938: [PATCH] etc: Do not clean guix-gc.timer)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 03 Oct 2021 19:40:01 +0000

Your bug report

#50938: [PATCH] etc: Do not clean guix-gc.timer

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
50938: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50938
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#50938: [PATCH] etc: Do not clean guix-gc.timer
From: Mathieu Othacehe <[email-masked]>
To: Matthew James Kraai <[email-masked]>
Cc: [email-masked]
Date: Sun, 03 Oct 2021 19:39:39 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hey Matt,

> I think it has to be in dist_systemdservice_DATA in order to be
> installed.  Is that not the case?

Looks like having this file in the EXTRA_DIST list is enough to have it
installed. I think we can close this one.

Thanks,

Mathieu

Subject: [PATCH] etc: Do not clean guix-gc.timer
From: Matthew James Kraai <[email-masked]>
To: [email-masked]
Cc: Matthew James Kraai <[email-masked]>
Date: Fri, 1 Oct 2021 07:37:06 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

* nix/local.mk (dist_systemdservice_DATA): New.
(nodist_systemdservice_DATA): Remove guix-gc.timer.
(EXTRA_DIST): Remove guix-gc.timer.
---
 nix/local.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/nix/local.mk b/nix/local.mk
index d6b4d7faeb..b0cce85cab 100644
--- a/nix/local.mk
+++ b/nix/local.mk
@@ -150,12 +150,13 @@ noinst_HEADERS =						\
 
 # The '.service' files for systemd.
 systemdservicedir = $(libdir)/systemd/system
+dist_systemdservice_DATA =			\
+  etc/guix-gc.timer
 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
@@ -219,7 +220,6 @@ EXTRA_DIST +=					\
   etc/guix-publish.service.in			\
   etc/guix-publish.conf.in			\
   etc/guix-gc.service.in			\
-  etc/guix-gc.timer				\
   etc/init.d/guix-daemon.in			\
   etc/openrc/guix-daemon.in
 
-- 
2.33.0