me
/
guix
Archived
1
0
Fork 0

gnu: opendht: Fix build.

* gnu/packages/networking.scm (opendht) [arguments]: Add delete-autogen phase.
master
Maxim Cournoyer 2023-04-16 11:01:08 -04:00
parent ad0b0b2c41
commit e1c48cb6bf
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 5 additions and 0 deletions

View File

@ -3816,6 +3816,11 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
(lambda* (#:key tests? #:allow-other-keys)
(when 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
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((tools (assoc-ref outputs "tools"))