guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: astromance: Correctly link to game data.


From: guix-commits
Subject: branch master updated: gnu: astromance: Correctly link to game data.
Date: Mon, 05 Oct 2020 07:40:38 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 3699ed6  gnu: astromance: Correctly link to game data.
3699ed6 is described below

commit 3699ed63501a28629956ca60e198f5fafa57ad4e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 5 14:39:53 2020 +0300

    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.
---
 gnu/packages/games.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 28c1492..729078d 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]