summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-04-03 18:04:38 +0200
committerMarius Bakke <mbakke@fastmail.com>2020-04-03 18:04:38 +0200
commitba66eec741a9fbddd74eb7fc54d2c53888ace5b7 (patch)
treec00098e68ecc82b93ed94fabc29d5015b8396ba5
parent57f24c200fbb1abbf2186bbe439a92200378d8ff (diff)
downloadpatches-ba66eec741a9fbddd74eb7fc54d2c53888ace5b7.tar
patches-ba66eec741a9fbddd74eb7fc54d2c53888ace5b7.tar.gz
gnu: synergy: Fix build failure.
* gnu/packages/synergy.scm (synergy)[arguments]: Prepend to CPLUS_INCLUDE_PATH instead of overriding it.
-rw-r--r--gnu/packages/synergy.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/synergy.scm b/gnu/packages/synergy.scm
index 367bb323b3..739ea3bd75 100644
--- a/gnu/packages/synergy.scm
+++ b/gnu/packages/synergy.scm
@@ -63,7 +63,8 @@
(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)