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>
This commit is contained in:
Ron Nazarov 2022-12-07 18:37:50 +00:00 committed by 宋文武
parent f58978868a
commit 426af37387
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -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 @@ (define-public nethack
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