guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: prinseq: Fix references to perl executable.


From: guix-commits
Subject: branch master updated: gnu: prinseq: Fix references to perl executable.
Date: Fri, 14 May 2021 11:17:50 -0400

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 848126d  gnu: prinseq: Fix references to perl executable.
848126d is described below

commit 848126d0086585768a14be13d286f938ebc6e460
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri May 14 17:10:56 2021 +0200

    gnu: prinseq: Fix references to perl executable.
    
    * gnu/packages/bioinformatics.scm (prinseq)[arguments]: Embed concrete
    references to the "perl" executable.
---
 gnu/packages/bioinformatics.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 9c0e185..7da5d54 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]