emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59704: closed ([PATCH 1/1] services: wireguard: Use the parameterize


From: GNU bug Tracking System
Subject: bug#59704: closed ([PATCH 1/1] services: wireguard: Use the parameterized wireguard package.)
Date: Fri, 09 Dec 2022 02:55:02 +0000

Your message dated Fri, 09 Dec 2022 10:54:46 +0800
with message-id <87r0x9i8w9.fsf@envs.net>
and subject line Re: bug#59704: [PATCH 1/1] services: wireguard: Use the 
parameterized wireguard package.
has caused the debbugs.gnu.org bug report #59704,
regarding [PATCH 1/1] services: wireguard: Use the parameterized wireguard 
package.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
59704: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59704
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH 1/1] services: wireguard: Use the parameterized wireguard package. Date: Tue, 29 Nov 2022 20:39:29 -0300
* gnu/services/vpn.scm (wireguard-activation): Use the "wg" binary from
  the package given to <wireguard-configuration>.
---

Notes:
    As of now, there is no other reference to the global "wireguard-tools"
    package in the gnu/services/vpn.scm file.

 gnu/services/vpn.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/services/vpn.scm b/gnu/services/vpn.scm
index def381987b..7b3bb8903c 100644
--- a/gnu/services/vpn.scm
+++ b/gnu/services/vpn.scm
@@ -833,7 +833,7 @@ (define (peer->config peer)
 
 (define (wireguard-activation config)
   (match-record config <wireguard-configuration>
-    (private-key)
+    (private-key wireguard)
     #~(begin
         (use-modules (guix build utils)
                      (ice-9 popen)
@@ -842,7 +842,7 @@ (define (wireguard-activation config)
         (unless (file-exists? #$private-key)
           (let* ((pipe
                   (open-input-pipe (string-append
-                                    #$(file-append wireguard-tools "/bin/wg")
+                                    #$(file-append wireguard "/bin/wg")
                                     " genkey")))
                  (key (read-line pipe)))
             (call-with-output-file #$private-key
-- 
2.38.1




--- End Message ---
--- Begin Message --- Subject: Re: bug#59704: [PATCH 1/1] services: wireguard: Use the parameterized wireguard package. Date: Fri, 09 Dec 2022 10:54:46 +0800 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
EuAndreh <eu@euandre.org> writes:

> * gnu/services/vpn.scm (wireguard-activation): Use the "wg" binary from
>   the package given to <wireguard-configuration>.
> ---
>
> Notes:
>     As of now, there is no other reference to the global "wireguard-tools"
>     package in the gnu/services/vpn.scm file.

Pushed, thank you!


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]