Subject: [PATCH] gnu: nethack: Fix missing command line argument support in wrapper.

From: Ron Nazarov <[email-masked]>
Date: Wed, 7 Dec 2022 18:37:50 +0000

* gnu/packages/games.scm (nethack): Fix missing command line argument support in wrapper.
---
 gnu/packages/games.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 0f5f3cc332..3dd056e1eb 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -63,7 +63,7 @@
 ;;; Copyright © 2021 David Pflug <[email-masked]>
 ;;; Copyright © 2021, 2022 Felix Gruber <[email-masked]>
 ;;; Copyright © 2021 Solene Rapenne <[email-masked]>
-;;; Copyright © 2021 Noisytoot <[email-masked]>
+;;; Copyright © 2021, 2022 Noisytoot <[email-masked]>
 ;;; Copyright © 2021 Petr Hodina <[email-masked]>
 ;;; Copyright © 2021, 2022 Brendan Tildesley <[email-masked]>
 ;;; Copyright © 2021 Christopher Baines <[email-masked]>
@@ -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
-- 
2.38.0