diff options
-rw-r--r-- | gn/packages/bioinformatics.scm | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index 0cb199a..2ef727f 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -1918,16 +1918,15 @@ The path-guided stochastic gradient descent based 1D sort implemented in (delete 'configure) ; no configure phase (add-after 'unpack 'patch-source (lambda* (#:key inputs #:allow-other-keys) - (let ((concurrentqueue (assoc-ref inputs "concurrentqueue"))) - (delete-file-recursively "concurrentqueue") - (substitute* "makefile" - (("-Iconcurrentqueue") - (string-append "-I" concurrentqueue "/include/concurrentqueue")) - (("^JEMALLOCFLAGS.*") - "JEMALLOCFLAGS= `pkg-config --libs jemalloc`\n") - ;; No need to build statically. - (("-Wl,-Bstatic") "") - (("-static-libstdc\\+\\+") ""))))) + (delete-file-recursively "concurrentqueue") + (substitute* "makefile" + (("-Iconcurrentqueue") + (string-append "-I" (search-input-directory inputs "/include/concurrentqueue"))) + (("^JEMALLOCFLAGS.*") + "JEMALLOCFLAGS= `pkg-config --libs jemalloc`\n") + ;; No need to build statically. + (("-Wl,-Bstatic") "") + (("-static-libstdc\\+\\+") "")))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) |