efraim pushed a commit to branch master
in repository guix.

commit 2673620f2455d89e3b2641d8c479ca00dbad824c
Author: Efraim Flashner <[email protected]>
AuthorDate: Wed Jan 8 11:29:09 2020 +0200

    gnu: bwa: Install static library.
    
    * gnu/packages/bioinformatics.scm (bwa)[arguments]: Install static
    library.
---
 gnu/packages/bioinformatics.scm | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 613015c..28c5dd1 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4,7 +4,7 @@
 ;;; Copyright © 2015, 2016 Pjotr Prins <[email protected]>
 ;;; Copyright © 2015 Andreas Enge <[email protected]>
 ;;; Copyright © 2016 Roel Janssen <[email protected]>
-;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <[email protected]>
+;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner 
<[email protected]>
 ;;; Copyright © 2016 Marius Bakke <[email protected]>
 ;;; Copyright © 2016, 2018 Raoul Bonnal <[email protected]>
 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <[email protected]>
@@ -1682,13 +1682,13 @@ splice junctions between exons.")
        (modify-phases %standard-phases
          (replace 'install
            (lambda* (#:key outputs #:allow-other-keys)
-             (let ((bin (string-append
-                         (assoc-ref outputs "out") "/bin"))
-                   (doc (string-append
-                         (assoc-ref outputs "out") "/share/doc/bwa"))
-                   (man (string-append
-                         (assoc-ref outputs "out") "/share/man/man1")))
+             (let* ((out (assoc-ref outputs "out"))
+                    (bin (string-append out "/bin"))
+                    (lib (string-append out "/lib"))
+                    (doc (string-append out "/share/doc/bwa"))
+                    (man (string-append out "/share/man/man1")))
                (install-file "bwa" bin)
+               (install-file "libbwa.a" lib)
                (install-file "README.md" doc)
                (install-file "bwa.1" man))
              #t))

Reply via email to