Subject: bug#40977: --load-path does not honor ~

From: zimoun <[email-masked]>
Date: Thu, 30 Apr 2020 18:50:41 +0200

Dear Hartmut,

On Thu, 30 Apr 2020 at 18:42, Hartmut Goebel
<[email-masked]> wrote:

> The short option "-L ~/…" works, since thin this case the shell resolves the tilde. Whereas for the long-option the shell does not revolve the tilde, since the tilde is in the middle of the argument. Yu can verify this yourself easily:

Yes, you have right.

> Proposed solution:
>
> After processing options, guix need to "expanduser()" (as it is called
> in Python) on all arguments which are paths.

I agree.
I am not aware of such function in Guile.

All the best,
simon