unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#59244] [PATCH] services: vpn: Fix type used for profile-service-type
@ 2022-11-13 10:46 EuAndreh via Guix-patches via
  2022-11-13 12:56 ` bug#59244: " Mathieu Othacehe
  0 siblings, 1 reply; 3+ messages in thread
From: EuAndreh via Guix-patches via @ 2022-11-13 10:46 UTC (permalink / raw)
  To: 59244; +Cc: EuAndreh

* gnu/services/vpn.scm (wireguard-service-type): Use a list of packages
  for extending profile-service-type instead of the package directly.
---

Right now it gives an error at build time:

  In procedure append: Wrong type argument in position 15 (expecting empty list): #<package wireguard-tools@1.0.20210914 gnu/packages/vpn.scm:1093 7fd437f48dc0>

 gnu/services/vpn.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#59244: [PATCH] services: vpn: Fix type used for profile-service-type
  2022-11-13 10:46 [bug#59244] [PATCH] services: vpn: Fix type used for profile-service-type EuAndreh via Guix-patches via
@ 2022-11-13 12:56 ` Mathieu Othacehe
  2022-11-13 14:14   ` [bug#59244] " EuAndreh via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Othacehe @ 2022-11-13 12:56 UTC (permalink / raw)
  To: EuAndreh; +Cc: 59244-done


> * gnu/services/vpn.scm (wireguard-service-type): Use a list of packages
>   for extending profile-service-type instead of the package directly.

Applied, thanks.

Mathieu




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#59244] [PATCH] services: vpn: Fix type used for profile-service-type
  2022-11-13 12:56 ` bug#59244: " Mathieu Othacehe
@ 2022-11-13 14:14   ` EuAndreh via Guix-patches via
  0 siblings, 0 replies; 3+ messages in thread
From: EuAndreh via Guix-patches via @ 2022-11-13 14:14 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 59244

Hmm, using the "wireguard-configuration-wireguard" package is much 
better, I didn't see it being defined in the configuration.

Thanks for the improvement :)




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-13 14:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-13 10:46 [bug#59244] [PATCH] services: vpn: Fix type used for profile-service-type EuAndreh via Guix-patches via
2022-11-13 12:56 ` bug#59244: " Mathieu Othacehe
2022-11-13 14:14   ` [bug#59244] " EuAndreh via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).