diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-05-14 17:10:56 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-05-14 17:11:52 +0200 |
commit | 848126d0086585768a14be13d286f938ebc6e460 (patch) | |
tree | 103f6308a9369f3b49c7ba81b4a1a752f7d815a5 /gnu/packages/bioinformatics.scm | |
parent | 675540892719387e1e4e76f097ff8e4ee4b559f7 (diff) |
gnu: prinseq: Fix references to perl executable.
* gnu/packages/bioinformatics.scm (prinseq)[arguments]: Embed concrete
references to the "perl" executable.
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r-- | gnu/packages/bioinformatics.scm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 9c0e18591f..7da5d54247 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -7617,14 +7617,18 @@ experience substantial biological insertions and deletions.") (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) |