summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2023-07-23 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2023-07-30 02:00:00 +0200
commit096fd9c3ffd2e2a106d64f3d08a3585c5257b94b (patch)
treeff222d0cfb5122448b6fda72adfdd34fd228b339 /gnu
parent45b7a8bfda5bde2e2daee4bec0ca092cd719d726 (diff)
gnu: mash: Update package style.
* gnu/packages/bioinformatics.scm (mash)[arguments]: Consolidate similar SUBSTITUTE* calls. Don't explicitly return #t from phases.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bioinformatics.scm12
1 files 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