gnu: prinseq: Set #:guile argument of 'wrap-script'.
* gnu/packages/bioinformatics.scm (prinseq)[arguments]<#:phases>{install}: Set #:guile argument of ‘wrap-script’. Signed-off-by: Ludovic Courtès <ludo@gnu.org>master
parent
fadbac0ecc
commit
c4989f7569
|
@ -7557,7 +7557,8 @@ experience substantial biological insertions and deletions.")
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(bin (string-append out "/bin"))
|
(bin (string-append out "/bin"))
|
||||||
(scripts (find-files "." "prinseq.*.pl")))
|
(scripts (find-files "." "prinseq.*.pl"))
|
||||||
|
(guile (search-input-file "bin/guile")))
|
||||||
(substitute* scripts
|
(substitute* scripts
|
||||||
(("\"perl -pe")
|
(("\"perl -pe")
|
||||||
(string-append "\"" (which "perl") " -pe")))
|
(string-append "\"" (which "perl") " -pe")))
|
||||||
|
@ -7565,6 +7566,7 @@ experience substantial biological insertions and deletions.")
|
||||||
(chmod file #o555)
|
(chmod file #o555)
|
||||||
(install-file file bin)
|
(install-file file bin)
|
||||||
(wrap-script (string-append bin "/" (basename file))
|
(wrap-script (string-append bin "/" (basename file))
|
||||||
|
#:guile guile
|
||||||
`("PERL5LIB" ":" prefix
|
`("PERL5LIB" ":" prefix
|
||||||
(,(getenv "PERL5LIB")))))
|
(,(getenv "PERL5LIB")))))
|
||||||
scripts)))))))
|
scripts)))))))
|
||||||
|
|
Reference in New Issue