diff options
Diffstat (limited to 'tw/packages')
-rw-r--r-- | tw/packages/games.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tw/packages/games.scm b/tw/packages/games.scm index 36c1c24d..22883318 100644 --- a/tw/packages/games.scm +++ b/tw/packages/games.scm @@ -191,9 +191,12 @@ If PAKSETS are not specified, simutrans is bundled with some default paksets." (guix build union) (guix build utils)) + ;; Symlink the data files into place. Must be done first. (union-build #$output (list #$base-game #$@paksets)) ;; Install wrapper script to pass the right workdir to simutrans. + ;; We can't use a `program-file' here since that would introduce + ;; a circular dependency between that file and this package. (mkdir-p (string-append #$output "/bin")) (call-with-output-file (string-append #$output "/bin/simutrans") (cut format <> "#! ~a/bin/guile --no-auto-compile~%!#~%~s~%" |