guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#27691] Tabs and patches names


From: Oleg Pykhalov
Subject: [bug#27691] Tabs and patches names
Date: Wed, 26 Jul 2017 14:12:33 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hi Ludovic,

address@hidden (Ludovic Courtès) writes:

[...]
> I had to make the change below so that ‘tome4’ would behave as one would
> expect.  However, the game doesn’t work for me: it creates an X11 window
> that immediately disappears; after that, the engine is running
> (displaying its activity in the console), but there’s no open window.
>
> The problem can be reproduced with:
>
>   ./pre-inst-env guix environment --pure --ad-hoc tome4 
>
> Could you check if it works for you?
>
> Thanks!
>
> Ludo’.
>
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index df6922d88..41084a2f2 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -4660,8 +4660,7 @@ Crowther & Woods, its original authors, in 1995.  It 
> has been known as
>                                ;; defaulting to working directory
>                                ;; for engine code!
>                                "cd " data "\n"
> -                              "./t-engine &\n"
> -                              "exit\n"))))
> +                              "exec -a tome4 ./t-engine 
> \"address@hidden"\n"))))
>                          (chmod wrapper #o555)
>                          ;; licenses
>                          (for-each (lambda (file)

I applied your patch and ran `./pre-inst-env guix environment --pure
--ad-hoc tome4 -- tome4`.  It worked.

However I got “bash: tty: command not found” after `./pre-inst-env guix
environment --pure --ad-hoc tome4`.  `tome4` runs just fine still.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]