gnu: libfive: Fix build failure.

* gnu/packages/engineering.scm (libfive)[arguments]: Prepend to
CPLUS_INCLUDE_PATH instead of overriding it.
This commit is contained in:
Marius Bakke 2020-04-03 19:07:22 +02:00
parent 0ad05c15e3
commit 76f5cef359
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -769,7 +769,8 @@ (define-public libfive
(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)))