From 3699ed63501a28629956ca60e198f5fafa57ad4e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 5 Oct 2020 14:39:53 +0300 Subject: gnu: astromance: Correctly link to game data. Fixes . * gnu/packages/games.scm (astromance)[arguments]: Adjust configure-flags to point the DATADIR to a directory in the output. --- gnu/packages/games.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 28c1492b26..729078dc69 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -429,7 +429,9 @@ physics settings to tweak as well.") (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 -- cgit v1.2.3