summaryrefslogtreecommitdiff
path: root/tw/packages
diff options
context:
space:
mode:
authorTimo Wilken2023-05-01 14:16:04 +0200
committerTimo Wilken2023-05-01 14:16:04 +0200
commitb6de949d0f3f5bff4822242870264519856a2adc (patch)
tree846d1da9968fc7b1034a47b211acfb1fed96680f /tw/packages
parent48dd8ad2bd87c17843e94abc8f10403e5a45e80a (diff)
Add comments from failed gexp-ing attempt
Diffstat (limited to 'tw/packages')
-rw-r--r--tw/packages/games.scm3
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~%"