gnu: prinseq: Fix references to perl executable.
* gnu/packages/bioinformatics.scm (prinseq)[arguments]: Embed concrete references to the "perl" executable.
This commit is contained in:
parent
6755408927
commit
848126d008
1 changed files with 6 additions and 2 deletions
|
@ -7617,14 +7617,18 @@ (define-public prinseq
|
|||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(bin (string-append out "/bin")))
|
||||
(bin (string-append out "/bin"))
|
||||
(scripts (find-files "." "prinseq.*.pl")))
|
||||
(substitute* scripts
|
||||
(("\"perl -pe")
|
||||
(string-append "\"" (which "perl") " -pe")))
|
||||
(for-each (lambda (file)
|
||||
(chmod file #o555)
|
||||
(install-file file bin)
|
||||
(wrap-script (string-append bin "/" (basename file))
|
||||
`("PERL5LIB" ":" prefix
|
||||
(,(getenv "PERL5LIB")))))
|
||||
(find-files "." "prinseq.*.pl"))))))))
|
||||
scripts)))))))
|
||||
(inputs
|
||||
`(("guile" ,guile-3.0) ; for wrapper scripts
|
||||
("perl" ,perl)
|
||||
|
|
Loading…
Reference in a new issue