guix-commits
[Top][All Lists]
Advanced

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

01/14: gnu: mash: Update package style.


From: guix-commits
Subject: 01/14: gnu: mash: Update package style.
Date: Tue, 1 Aug 2023 16:46:45 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 096fd9c3ffd2e2a106d64f3d08a3585c5257b94b
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 23 02:00:00 2023 +0200

    gnu: mash: Update package style.
    
    * gnu/packages/bioinformatics.scm (mash)[arguments]: Consolidate
    similar SUBSTITUTE* calls.  Don't explicitly return #t from phases.
---
 gnu/packages/bioinformatics.scm | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index d47940e0e2..3b9c739515 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -7190,16 +7190,12 @@ sequences).")
                             "src/mash/CommandFind.cpp"
                             "src/mash/CommandScreen.cpp")
                (("^#include \"kseq\\.h\"")
-                "#include \"htslib/kseq.h\""))
-             #t))
+                "#include \"htslib/kseq.h\""))))
          (add-after 'fix-includes 'use-c++14
            (lambda _
-             ;; capnproto 0.7 requires c++14 to build
-             (substitute* "configure.ac"
-               (("c\\+\\+11") "c++14"))
-             (substitute* "Makefile.in"
-               (("c\\+\\+11") "c++14"))
-             #t)))))
+             ;; capnproto 1.0 requires c++14 to build.
+             (substitute* (list "configure.ac" "Makefile.in")
+               (("c\\+\\+11") "c++14")))))))
     (native-inputs
      (list autoconf))
     (inputs



reply via email to

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