gnu: kiki: Adjust for CPLUS_INCLUDE_PATH change.

* gnu/packages/games.scm (kiki)[arguments]: Prepend to CPLUS_INCLUDE_PATH
instead of overriding it.
This commit is contained in:
Marius Bakke 2020-03-14 12:01:23 +01:00
parent e59d958a9c
commit 7cf79d7a51
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 2 additions and 1 deletions

View File

@ -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 "