Subject: bug#59195: closed (Re: bug#59195: [PATCH] services: vpn: Add wireguard-tools to profile-service-type)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 12 Nov 2022 17:43:02 +0000

Your bug report

#59195: [PATCH] services: vpn: Add wireguard-tools to profile-service-type

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].

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

Subject: Re: bug#59195: [PATCH] services: vpn: Add wireguard-tools to profile-service-type
From: Mathieu Othacehe <[email-masked]>
To: EuAndreh <[email-masked]>
Cc: [email-masked]
Date: Sat, 12 Nov 2022 18:42:44 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

> * gnu/services/vpn.scm (wireguard-service-type): Include the
>   "wireguard-tools" package as an extension to profile-service-type, so
>   that users that enable the wireguarde service can interact with it via
>   the command-line without having to manually install wireguard-tools.

Applied, thanks.

Mathieu

Subject: [PATCH] services: vpn: Add wireguard-tools to profile-service-type
From: EuAndreh <[email-masked]>
To: [email-masked]
Cc: EuAndreh <[email-masked]>
Date: Fri, 11 Nov 2022 11:17:28 -0300
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/services/vpn.scm (wireguard-service-type): Include the
  "wireguard-tools" package as an extension to profile-service-type, so
  that users that enable the wireguarde service can interact with it via
  the command-line without having to manually install wireguard-tools.
---
 gnu/services/vpn.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/services/vpn.scm b/gnu/services/vpn.scm
index 6f2821eccf..5cdfa97add 100644
--- a/gnu/services/vpn.scm
+++ b/gnu/services/vpn.scm
@@ -875,6 +875,8 @@ (define wireguard-service-type
     (list (service-extension shepherd-root-service-type
                              wireguard-shepherd-service)
           (service-extension activation-service-type
-                             wireguard-activation)))
+                             wireguard-activation)
+          (service-extension profile-service-type
+                             (const wireguard-tools))))
    (description "Set up Wireguard @acronym{VPN, Virtual Private Network}
 tunnels.")))
-- 
2.38.1