civodul pushed a commit to branch master
in repository guix.

commit 60037d4e52839f00ef522eae844edf16949f8824
Author: nee <[email protected]>
Date:   Mon Jan 15 23:21:19 2018 +0100

    gnu: freedom: add native search-paths.
    
    * gnu/packages/games.scm (freedoom) [native-search-paths]: Set DOOMWADDIR 
and
      DOOMWADPATH, so source ports and map editors can find the freedoom IWAD.
    
    Signed-off-by: Ludovic Courtès <[email protected]>
---
 gnu/packages/games.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 288db49..1213d87 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -348,6 +348,13 @@ tired of cows, a variety of other ASCII-art messengers are 
available.")
     `(("prboom-plus" ,prboom-plus)))
    (home-page "https://freedoom.github.io/";)
    (synopsis "Free content game based on the Doom engine")
+   (native-search-paths
+    (list (search-path-specification
+           (variable "DOOMWADDIR")
+           (files '("share/games/doom")))
+          (search-path-specification
+           (variable "DOOMWADPATH")
+           (files '("share/games/doom")))))
    (description
     "The Freedoom project aims to create a complete free content first person
 shooter game.  Freedoom by itself is just the raw material for a game: it must

Reply via email to