gnu: astromance: Correctly link to game data.

Fixes <http://issues.guix.gnu.org/43797>.

* gnu/packages/games.scm (astromance)[arguments]: Adjust configure-flags
to point the DATADIR to a directory in the output.
This commit is contained in:
Efraim Flashner 2020-10-05 14:39:53 +03:00
parent 31c81fefff
commit 3699ed6350
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -429,7 +429,9 @@ (define-public astromenace
(build-system cmake-build-system)
(arguments
`(#:tests? #f ;no test
#:configure-flags '("-DDATADIR=share/astromenace")
#:configure-flags (list (string-append "-DDATADIR="
(assoc-ref %outputs "out")
"/share/astromenace"))
#:phases
(modify-phases %standard-phases
(replace 'install