gnu: hyperrogue: Fix build failure.

* gnu/packages/games.scm (hyperrogue)[arguments]: Do not assume CPATH is set.
This commit is contained in:
Marius Bakke 2020-04-03 18:18:54 +02:00
parent ba66eec741
commit 18caa6f528
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -4226,7 +4226,7 @@ (define-public hyperrogue
(add-after 'set-paths 'set-sdl-paths
(lambda* (#:key inputs #:allow-other-keys)
(setenv "CPATH"
(string-append (getenv "CPATH") ":"
(string-append (or (getenv "CPATH") "") ":"
(assoc-ref inputs "sdl-union")
"/include/SDL"))))
(replace 'configure