[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: crash if HOME is unset
From: |
Timothy Sample |
Subject: |
Re: crash if HOME is unset |
Date: |
Wed, 18 Dec 2024 22:21:47 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi Simon,
Simon Josefsson writes:
> I'm experimenting with Gash to get a minimalistic Guix container
> experience [1],
Interesting. I’m not sure I understand why, but I’ll be happy for any
bug reports that come out of your experiments. :)
> and noticed that it crashes if HOME is unset:
>
> The code seems to be gash.scm:
>
> ((isatty? (current-input-port))
> (let* ((HOME (string-append (getenv "HOME") "/.gash_history"))
> (thunk (lambda ()
There’s the issue.
> How about this patch?
I took a more comprehensive approach with commit
ec9f0313190e380687da387b4207469a0a0a8cd8.
Thanks a bunch for this. Let me know if find any other issues.
-- Tim