mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 19:19:20 -05:00
gnu: prank: Bind INPUTS in 'install phase.
* gnu/packages/bioinformatics.scm (prank)[arguments]: Bind INPUTS in 'install phase to remove references to %build-inputs.
This commit is contained in:
parent
e128839a94
commit
09ae51f7b8
1 changed files with 4 additions and 4 deletions
|
@ -5788,14 +5788,14 @@ (define-public prank
|
|||
(("-m64") ""))))
|
||||
(delete 'configure)
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(bin (string-append out "/bin"))
|
||||
(man (string-append out "/share/man/man1"))
|
||||
(path (string-append
|
||||
(assoc-ref %build-inputs "mafft") "/bin:"
|
||||
(assoc-ref %build-inputs "exonerate") "/bin:"
|
||||
(assoc-ref %build-inputs "bppsuite") "/bin")))
|
||||
(assoc-ref inputs "mafft") "/bin:"
|
||||
(assoc-ref inputs "exonerate") "/bin:"
|
||||
(assoc-ref inputs "bppsuite") "/bin")))
|
||||
(install-file "prank" bin)
|
||||
(wrap-program (string-append bin "/prank")
|
||||
`("PATH" ":" prefix (,path)))
|
||||
|
|
Loading…
Reference in a new issue