Skip to content

Commit

Permalink
gnu: nethack: Fix missing command line arguments support in wrapper.
Browse files Browse the repository at this point in the history
* gnu/packages/games.scm (nethack)[phases]: Pass "$@" to nethack.

Signed-off-by: 宋文武 <[email protected]>
  • Loading branch information
Noisytoot authored and 宋文武 committed Dec 9, 2022
1 parent f589788 commit 426af37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gnu/packages/games.scm
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
;;; Copyright © 2021 David Pflug <[email protected]>
;;; Copyright © 2021, 2022 Felix Gruber <[email protected]>
;;; Copyright © 2021 Solene Rapenne <[email protected]>
;;; Copyright © 2021 Noisytoot <noisytoot@disroot.org>
;;; Copyright © 2021, 2022 Noisytoot <ron@noisytoot.org>
;;; Copyright © 2021 Petr Hodina <[email protected]>
;;; Copyright © 2021, 2022 Brendan Tildesley <[email protected]>
;;; Copyright © 2021 Christopher Baines <[email protected]>
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 426af37

Please sign in to comment.