summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/vpn.scm14
1 files 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 @@
23;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim@guixotic.coop> 23;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim@guixotic.coop>
24;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <me@jeandudey.tech> 24;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
25;;; Copyright © 2022, 2025 Arun Isaac <arunisaac@systemreboot.net> 25;;; Copyright © 2022, 2025 Arun Isaac <arunisaac@systemreboot.net>
26;;; Copyright © 2024 Allan Adair <allan@adair.no> 26;;; Copyright © 2024, 2025 Allan Adair <allan@adair.no>
27;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org> 27;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
28;;; 28;;;
29;;; This file is part of GNU Guix. 29;;; This file is part of GNU Guix.
@@ -1309,16 +1309,18 @@ L2TP allows you to tunnel PPP over UDP.")
1309 (build-system pyproject-build-system) 1309 (build-system pyproject-build-system)
1310 (arguments 1310 (arguments
1311 (list 1311 (list
1312 #:tests? #f ; No tests. 1312 #:tests? #f ;No tests.
1313 #:phases 1313 #:phases
1314 #~(modify-phases %standard-phases 1314 #~(modify-phases %standard-phases
1315 (add-after 'unpack 'patch-FHS-file-names 1315 (add-after 'unpack 'patch-FHS-file-names
1316 (lambda* (#:key inputs #:allow-other-keys) 1316 (lambda* (#:key inputs #:allow-other-keys)
1317 (substitute* "vpn_slice/linux.py" 1317 (substitute* "vpn_slice/linux.py"
1318 (("/sbin/iptables") 1318 (("'/sbin/iptables'")
1319 (search-input-file inputs "/sbin/iptables")) 1319 (string-append
1320 (("/sbin/ip") 1320 "'" (search-input-file inputs "/sbin/iptables") "'"))
1321 (search-input-file inputs "/sbin/ip")))))))) 1321 (("'/sbin/ip'")
1322 (string-append
1323 "'" (search-input-file inputs "/sbin/ip") "'"))))))))
1322 (native-inputs (list python-setuptools python-wheel)) 1324 (native-inputs (list python-setuptools python-wheel))
1323 (inputs (list python-dnspython python-setproctitle iproute iptables)) 1325 (inputs (list python-dnspython python-setproctitle iproute iptables))
1324 (home-page "https://github.com/dlenski/vpn-slice") 1326 (home-page "https://github.com/dlenski/vpn-slice")