guix-commits
[Top][All Lists]
Advanced

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

04/19: gnu: bless: Remove reference to %build-inputs.


From: guix-commits
Subject: 04/19: gnu: bless: Remove reference to %build-inputs.
Date: Fri, 3 Dec 2021 18:33:45 -0500 (EST)

rekado pushed a commit to branch core-updates-frozen
in repository guix.

commit f5c38ee45f04913dbb930c8ae93eab45e53bfa90
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Dec 3 23:51:16 2021 +0100

    gnu: bless: Remove reference to %build-inputs.
    
    * gnu/packages/bioinformatics.scm (bless)[arguments]: Replace reference to
    %build-inputs with a gexp.  Use the dynamic library of zlib while we're at 
it.
    [inputs]: Remove zlib:static.
---
 gnu/packages/bioinformatics.scm | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index e23f3f3..47d958f 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1917,17 +1917,17 @@ confidence to have in an alignment.")
                   (delete-file-recursively ".git")))))
     (build-system gnu-build-system)
     (arguments
-     '(#:tests? #f ;no "check" target
+     `(#:tests? #f ;no "check" target
        #:make-flags
-       (list (string-append "ZLIB="
-                            (assoc-ref %build-inputs "zlib:static")
-                            "/lib/libz.a")
-             (string-append "LDFLAGS="
-                            (string-join '("-lboost_filesystem"
-                                           "-lboost_system"
-                                           "-lboost_iostreams"
-                                           "-lz"
-                                           "-fopenmp"))))
+       ,#~(list (string-append "ZLIB="
+                               #$(this-package-input "zlib")
+                               "/lib/libz.so")
+                (string-append "LDFLAGS="
+                               (string-join '("-lboost_filesystem"
+                                              "-lboost_system"
+                                              "-lboost_iostreams"
+                                              "-lz"
+                                              "-fopenmp"))))
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'do-not-build-bundled-pigz
@@ -1959,7 +1959,6 @@ confidence to have in an alignment.")
        ("boost" ,boost)
        ("sparsehash" ,sparsehash)
        ("pigz" ,pigz)
-       ("zlib:static" ,zlib "static")
        ("zlib" ,zlib)))
     (supported-systems '("x86_64-linux"))
     (home-page "https://sourceforge.net/p/bless-ec/wiki/Home/";)



reply via email to

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