diff options
| author | Allan Adair <allan@adair.no> | 2025-10-06 16:18:28 +0200 |
|---|---|---|
| committer | Jelle Licht <jlicht@fsfe.org> | 2025-10-13 12:03:52 +0200 |
| commit | 79086bb15f99bc31f0f8661172c43e7925bbd117 (patch) | |
| tree | cbc67c23aa3ff8b47cac49770b7a1948c0f61334 /gnu/packages/vpn.scm | |
| parent | 54ff89a6973f8f7a9e449643a49ddf09542cb6ca (diff) | |
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 <jlicht@fsfe.org>
Diffstat (limited to 'gnu/packages/vpn.scm')
| -rw-r--r-- | gnu/packages/vpn.scm | 14 |
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") |
