mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: gnunet: Use 'modify-phases'.
* gnu/packages/gnunet.scm (gnunet)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
b9fe72bf4d
commit
90d8ef6bcb
1 changed files with 10 additions and 12 deletions
|
@ -247,19 +247,17 @@ (define-public gnunet
|
||||||
;; test_gnunet_service_arm fails; reported upstream
|
;; test_gnunet_service_arm fails; reported upstream
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
#:phases
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
;; swap check and install phases and set paths to installed binaries
|
;; swap check and install phases and set paths to installed binaries
|
||||||
(alist-cons-before
|
(add-before 'check 'set-path-for-check
|
||||||
'check 'set-path-for-check
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(setenv "GNUNET_PREFIX" (string-append out "/lib"))
|
(setenv "GNUNET_PREFIX" (string-append out "/lib"))
|
||||||
(setenv "PATH" (string-append (getenv "PATH") ":" out "/bin"))))
|
(setenv "PATH" (string-append (getenv "PATH") ":" out "/bin")))
|
||||||
(alist-cons-after
|
#t))
|
||||||
'install 'check
|
(add-after 'install 'check
|
||||||
(assoc-ref %standard-phases 'check)
|
(assoc-ref %standard-phases 'check))
|
||||||
(alist-delete
|
(delete 'check))))
|
||||||
'check
|
|
||||||
%standard-phases)))))
|
|
||||||
(synopsis "Secure, decentralized, peer-to-peer networking framework")
|
(synopsis "Secure, decentralized, peer-to-peer networking framework")
|
||||||
(description
|
(description
|
||||||
"GNUnet is a framework for secure peer-to-peer networking. The
|
"GNUnet is a framework for secure peer-to-peer networking. The
|
||||||
|
|
Loading…
Reference in a new issue