summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-03-14 12:01:23 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-03-14 12:02:53 +0100
commit7cf79d7a51ff5dde4fc430fab2296b5f7de08953 (patch)
tree84ad37afcc66bbe48cf36ded3eb795eaf2966301 /gnu
parente59d958a9c9a509ce34ca553a5b1b03e406d561f (diff)
gnu: kiki: Adjust for CPLUS_INCLUDE_PATH change.
* gnu/packages/games.scm (kiki)[arguments]: Prepend to CPLUS_INCLUDE_PATH instead of overriding it.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/games.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 43199d2850..224ab7fb2d 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -4525,7 +4525,8 @@ over 100 user-created campaigns.")
(string-append (assoc-ref inputs "sdl-union")
"/include/SDL:"
(assoc-ref inputs "python")
- "/include/python2.7"))
+ "/include/python2.7:"
+ (or (getenv "CPLUS_INCLUDE_PATH") "")))
(substitute* "src/main/main.cpp"
(("#include <SDL.h>" line)
(string-append line "