[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#59244] [PATCH] services: vpn: Fix type used for profile-service-typ
From: |
EuAndreh |
Subject: |
[bug#59244] [PATCH] services: vpn: Fix type used for profile-service-type |
Date: |
Sun, 13 Nov 2022 07:46:30 -0300 |
* 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
- [bug#59244] [PATCH] services: vpn: Fix type used for profile-service-type,
EuAndreh <=