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

View file

@ -4525,7 +4525,8 @@ (define-public kiki
(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 "