summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-07-16 20:10:17 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-07-17 15:13:57 +0200
commit3549e23b25303d46f4725628a50c2a302d5e59f3 (patch)
tree1e6e16fd540d4deaf6a2431bc49122f4c6db31da /gnu
parent2a80d9e55299214a3f0b4f585767b4c81c9d5c7d (diff)
downloadguix-3549e23b25303d46f4725628a50c2a302d5e59f3.tar.gz
gnu: nanopolish: Fix build with GCC 7.
* gnu/packages/bioinformatics.scm (nanopolish)[arguments]: Preserve the
existing CPATH variable, if any.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bioinformatics.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 1372bb411a..313ffa11ae 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -14072,7 +14072,8 @@ choosing which reads pass the filter.")
              (lambda* (#:key inputs #:allow-other-keys)
                (setenv "CPATH"
                        (string-append (assoc-ref inputs "eigen")
-                                      "/include/eigen3"))
+                                      "/include/eigen3:"
+                                      (or (getenv "CPATH") "")))
                #t))
            (delete 'configure)
            (replace 'install