gnu: miredo: Fix to use iproute2 from the store.
* gnu/packages/networking.scm (miredo): [inputs]: Add iproute. [arguments]: New phase 'patch-iproute2 that patches sources to use iproute2 from the store. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
7bcd1f90d3
commit
77a48a4c5d
@ -702,6 +702,13 @@ or, more generally, MAC addresses of the same category of hardware.")
|
|||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-iproute2
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let* ((iproute (assoc-ref inputs "iproute"))
|
||||||
|
(ip (string-append iproute "/sbin/ip")))
|
||||||
|
(substitute* "misc/client-hook.iproute"
|
||||||
|
(("/sbin/ip") ip))
|
||||||
|
#t)))
|
||||||
;; The checkconf test in src/ requires network access.
|
;; The checkconf test in src/ requires network access.
|
||||||
(add-before
|
(add-before
|
||||||
'check 'disable-checkconf-test
|
'check 'disable-checkconf-test
|
||||||
@ -709,6 +716,8 @@ or, more generally, MAC addresses of the same category of hardware.")
|
|||||||
(substitute* "src/Makefile"
|
(substitute* "src/Makefile"
|
||||||
(("^TESTS = .*") "TESTS = \n"))
|
(("^TESTS = .*") "TESTS = \n"))
|
||||||
#t)))))
|
#t)))))
|
||||||
|
(inputs
|
||||||
|
`(("iproute" ,iproute)))
|
||||||
(home-page "https://www.remlab.net/miredo/")
|
(home-page "https://www.remlab.net/miredo/")
|
||||||
(synopsis "Teredo IPv6 tunneling software")
|
(synopsis "Teredo IPv6 tunneling software")
|
||||||
(description
|
(description
|
||||||
|
Loading…
Reference in New Issue
Block a user