aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn/packages/sambamba.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn/packages/sambamba.scm b/gn/packages/sambamba.scm
index 221aeb6..6463689 100644
--- a/gn/packages/sambamba.scm
+++ b/gn/packages/sambamba.scm
@@ -87,7 +87,8 @@
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "sambamba/pileup.d"
(("string samtoolsBin = null;") (string-append "string samtoolsBin = \"" (which "samtools") "\";"))
- (("string bcftoolsBin = null;") (string-append "string bcftoolsBin = \"" (which "bcftools") "\";")))))
+ (("string samtoolsBin = null;") (string-append "string samtoolsBin = \"" (which "samtools") "\";"))
+ ((" this_app = args[0];") (string-append " this_app = \"" (which "sambamba") "\";")))))
(add-after 'unpack 'unpack-htslib-sources
(lambda* (#:key inputs #:allow-other-keys)
;; The current build compiles htslib statically into the