From 096fd9c3ffd2e2a106d64f3d08a3585c5257b94b Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 23 Jul 2023 02:00:00 +0200 Subject: 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(-) (limited to 'gnu') 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 -- cgit v1.2.3