gnu: opendht: Fix build.
* gnu/packages/networking.scm (opendht) [arguments]: Add delete-autogen phase.
This commit is contained in:
parent
ad0b0b2c41
commit
e1c48cb6bf
1 changed files with 5 additions and 0 deletions
|
@ -3816,6 +3816,11 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
(invoke "tests/opendht_unit_tests"))))
|
(invoke "tests/opendht_unit_tests"))))
|
||||||
|
(add-before 'bootstrap 'delete-autogen.sh
|
||||||
|
(lambda _
|
||||||
|
;; The autogen.sh script lacks a shebang, cannot be executed
|
||||||
|
;; directly. Let the bootstrap phase invoke autoreconf itself.
|
||||||
|
(delete-file "autogen.sh")))
|
||||||
(add-after 'install 'move-and-wrap-tools
|
(add-after 'install 'move-and-wrap-tools
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let* ((tools (assoc-ref outputs "tools"))
|
(let* ((tools (assoc-ref outputs "tools"))
|
||||||
|
|
Reference in a new issue