mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
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>
This commit is contained in:
parent
54ff89a697
commit
79086bb15f
1 changed files with 8 additions and 6 deletions
|
|
@ -23,7 +23,7 @@
|
|||
;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim@guixotic.coop>
|
||||
;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
|
||||
;;; Copyright © 2022, 2025 Arun Isaac <arunisaac@systemreboot.net>
|
||||
;;; Copyright © 2024 Allan Adair <allan@adair.no>
|
||||
;;; Copyright © 2024, 2025 Allan Adair <allan@adair.no>
|
||||
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;;
|
||||
;;; 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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue