gnu: synergy: Fix build failure.

* gnu/packages/synergy.scm (synergy)[arguments]: Prepend to CPLUS_INCLUDE_PATH
instead of overriding it.
This commit is contained in:
Marius Bakke 2020-04-03 18:04:38 +02:00
parent 57f24c200f
commit ba66eec741
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -63,7 +63,8 @@ (define-public synergy
(lambda* (#:key inputs #:allow-other-keys)
(setenv "CPLUS_INCLUDE_PATH"
(string-append (assoc-ref inputs "avahi")
"/include/avahi-compat-libdns_sd"))
"/include/avahi-compat-libdns_sd:"
(or (getenv "CPLUS_INCLUDE_PATH") "")))
#t)))))
(inputs
`(("avahi" ,avahi)