summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-04-03 19:07:22 +0200
committerMarius Bakke <mbakke@fastmail.com>2020-04-03 19:07:22 +0200
commit76f5cef359d52f1efdf067081af2911249248800 (patch)
treebcaad0958642481968c8592d2ebaaef570393e74 /gnu
parent0ad05c15e3c198e96f2ded17d22897fb0891f67d (diff)
downloadguix-76f5cef359d52f1efdf067081af2911249248800.tar.gz
gnu: libfive: Fix build failure.
* gnu/packages/engineering.scm (libfive)[arguments]: Prepend to
CPLUS_INCLUDE_PATH instead of overriding it.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/engineering.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 55af90bc82..5854249bb1 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -769,7 +769,8 @@ fonts to gEDA.")
              (lambda* (#:key inputs #:allow-other-keys)
                (setenv "CPLUS_INCLUDE_PATH"
                        (string-append (assoc-ref inputs "catch")
-                                      "/include/catch"))
+                                      "/include/catch:"
+                                      (or (getenv "CPLUS_INCLUDE_PATH") "")))
                #t)))))
       (native-inputs
        `(("pkg-config" ,pkg-config)))