summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Nazarov <ron@noisytoot.org>2022-12-07 18:37:50 +0000
committer宋文武 <iyzsong@member.fsf.org>2022-12-09 10:34:14 +0800
commit426af373879afe459fb4d8d3b0cc5dc93ead5f59 (patch)
tree1f7eaeae2c924a77eae112456e0ae65e109ef856
parentf58978868aa39cfa644d2f311aa2418f21208f31 (diff)
gnu: nethack: Fix missing command line arguments support in wrapper.
* gnu/packages/games.scm (nethack)[phases]: Pass "$@" to nethack. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
-rw-r--r--gnu/packages/games.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index e814b1101e..d8c5a34a41 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -63,7 +63,7 @@
;;; Copyright © 2021 David Pflug <david@pflug.io>
;;; Copyright © 2021, 2022 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
-;;; Copyright © 2021 Noisytoot <noisytoot@disroot.org>
+;;; Copyright © 2021, 2022 Noisytoot <ron@noisytoot.org>
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021, 2022 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2021 Christopher Baines <mail@cbaines.net>
@@ -2086,7 +2086,7 @@ done
for i in ~a/games/lib/nethackdir/*; do
ln -s $i $(basename $i)
done
-~a/games/nethack"
+~a/games/nethack \"$@\""
(assoc-ref %build-inputs "bash")
(list->search-path-as-string
(list