From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sALpJ56YhmOURwAAbAwnHQ (envelope-from ) for ; Wed, 30 Nov 2022 00:41:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CDDsJp6YhmNBcQAAG6o9tA (envelope-from ) for ; Wed, 30 Nov 2022 00:41:18 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 49EBB40D6F for ; Wed, 30 Nov 2022 00:41:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0ADp-0002YS-3t; Tue, 29 Nov 2022 18:41:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0ADn-0002Xl-Fi for guix-patches@gnu.org; Tue, 29 Nov 2022 18:41:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p0ADn-0001IC-6X for guix-patches@gnu.org; Tue, 29 Nov 2022 18:41:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p0ADm-0004gq-Qy for guix-patches@gnu.org; Tue, 29 Nov 2022 18:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59704] [PATCH 1/1] services: wireguard: Use the parameterized wireguard package. Resent-From: EuAndreh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Nov 2022 23:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59704 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59704@debbugs.gnu.org Cc: EuAndreh X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166976521318010 (code B ref -1); Tue, 29 Nov 2022 23:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Nov 2022 23:40:13 +0000 Received: from localhost ([127.0.0.1]:57188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0ACz-0004gQ-EG for submit@debbugs.gnu.org; Tue, 29 Nov 2022 18:40:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:39874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0ACv-0004gI-Je for submit@debbugs.gnu.org; Tue, 29 Nov 2022 18:40:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0ACv-0002Gw-76 for guix-patches@gnu.org; Tue, 29 Nov 2022 18:40:09 -0500 Received: from euandre.org ([2001:19f0:b400:1f0c:5400:4ff:fe35:8c89]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0ACY-0000oI-C4 for guix-patches@gnu.org; Tue, 29 Nov 2022 18:40:05 -0500 Received: from euandre.org (localhost [127.0.0.1]) by euandre.org (Postfix) with ESMTP id AF9E93794BD; Tue, 29 Nov 2022 20:39:34 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=euandre.org; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=dkimproxy; bh=b5gTHooN63L7hVA01IOD 0rVQX1o=; b=NyTHecVsqn19/CVEU5lVRiFrr+eKMJBluorRjU43bsMAKppfRbSh IteF+k/nJCPunTktAbmXuNWNsl2Gs2rjI8GyzxLzJkOrV9cm/qQzWj09tyUzTsgi dC2kVy1mZczVUJGzGbz4XSpCiWGmlUS+e9OwXrLvWzzjtlwE+COyzkz4I6+dWpp0 cYcRaR4QJBREWXmVdE4rofmlBOw+v5K21Rd4+mlcXPP2tmIr8iXO4MERNyFj0I4g tBTPuRfG/NIMcrnIV7IA3c5qsbqvF5Nn57hspQU4zeaO43k7vSYhZcSBvPlZy4/S jFBI+a6aqYWz5ASE+suRF59qH3yDqwme/Q== Date: Tue, 29 Nov 2022 20:39:29 -0300 Message-Id: <20221129233929.28696-1-eu@euandre.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2001:19f0:b400:1f0c:5400:4ff:fe35:8c89; envelope-from=eu@euandre.org; helo=euandre.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: EuAndreh X-ACL-Warn: , EuAndreh via Guix-patches From: EuAndreh via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669765278; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WyF/+Gsm4ztUl3pZ0yaLQyywKPt6co2D2g1sh7O3P3w=; b=H+csQuX3+hS6CqRltwW7pMadxWoswEHsSMFatMLdx2mZi4iver+G8EqTBo8vzuJmepwZW6 GyWsa3a1GMzQvBCz/rTrVXtOgbo4GYN6+RC4OzNB9hPRCrO8NHdPUYcD4MaR/TqrmGqMEO 4pN6Eol/K4QRxCkiMhUL51HIseUxp+MjggVfFsJHQv4DZJfZQ32WeGW86mSWf84ZfjtO20 gcPDkPrZt/DUZXPQfaLVMGW9LMNIMst5YLzf1YxOnaqs6oUpBbl0H5ogci9AwWv/8TrjO3 Hxk/tcO/Z4gKkRZeIbMfPQfCFVirC1/bvKY4xcSF2usFqUbJ+nVyf5axq7DB4w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669765278; a=rsa-sha256; cv=none; b=dRR6WZC+927IL7ystmciq4nPEl34ci9DygogS+JvYg79C6+i3Si224A7pAtPoQD+zNyFH3 yqFYnk4oV6HAP0eQ34F5nqtBVoerC3A92dgrClSroGIXcT2CWbeyZXKw9Cws3t8b7AKJHP Y+6OWctJjXRVaJccVhgE/N7zqPEAmcVGNN32g8f8eu/WMAyj9LJXkMgAA0tr/WbvxudJcU 5NsJYKBgEGVkl1HqrW5dPSUb7NP1UKRYYRibbVQvbUaGKZeRTFsYJWLFhTuEi75NtxrJa/ 23zpqNextOQxrGKp9mkjU7VG54bYKtUiVWGn5lu4cFIj619eGiNPRJvM9FYoJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=euandre.org header.s=dkimproxy header.b=NyTHecVs; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=euandre.org header.s=dkimproxy header.b=NyTHecVs; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 49EBB40D6F X-Spam-Score: -4.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: 81bllYi0bmOy * gnu/services/vpn.scm (wireguard-activation): Use the "wg" binary from the package given to . --- 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) =20 (define (wireguard-activation config) (match-record config - (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 --=20 2.38.1