GNU bug report logs -
#59244
[PATCH] services: vpn: Fix type used for profile-service-type
Previous Next
Reported by: EuAndreh <eu <at> euandre.org>
Date: Sun, 13 Nov 2022 10:48:01 UTC
Severity: normal
Tags: patch
Done: Mathieu Othacehe <othacehe <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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 <at> 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
This bug report was last modified 2 years and 248 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.