From 79086bb15f99bc31f0f8661172c43e7925bbd117 Mon Sep 17 00:00:00 2001 From: Allan Adair Date: Mon, 6 Oct 2025 16:18:28 +0200 Subject: [PATCH] gnu: vpn-slice: Fix store path substitutions. * gnu/packages/vpn.scm (vpn-slice): Fix store path substitutions. Change-Id: I4a07e758334bdcb5fc05c30bbcf4b851f95ef5d7 Signed-off-by: Jelle Licht --- gnu/packages/vpn.scm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index 6d07462f4d3..1c98d8828c9 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -23,7 +23,7 @@ ;;; Copyright © 2022, 2023 Maxim Cournoyer ;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ ;;; Copyright © 2022, 2025 Arun Isaac -;;; Copyright © 2024 Allan Adair +;;; Copyright © 2024, 2025 Allan Adair ;;; Copyright © 2025 Janneke Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. @@ -1309,16 +1309,18 @@ L2TP allows you to tunnel PPP over UDP.") (build-system pyproject-build-system) (arguments (list - #:tests? #f ; No tests. + #:tests? #f ;No tests. #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-FHS-file-names (lambda* (#:key inputs #:allow-other-keys) (substitute* "vpn_slice/linux.py" - (("/sbin/iptables") - (search-input-file inputs "/sbin/iptables")) - (("/sbin/ip") - (search-input-file inputs "/sbin/ip")))))))) + (("'/sbin/iptables'") + (string-append + "'" (search-input-file inputs "/sbin/iptables") "'")) + (("'/sbin/ip'") + (string-append + "'" (search-input-file inputs "/sbin/ip") "'")))))))) (native-inputs (list python-setuptools python-wheel)) (inputs (list python-dnspython python-setproctitle iproute iptables)) (home-page "https://github.com/dlenski/vpn-slice")