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

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

On Thu, 30 Apr 2020 at 17:31, zimoun <[email-masked]> wrote:
>
> Dear,
>
> On Thu, 30 Apr 2020 at 10:17, Hartmut Goebel
> <[email-masked]> wrote:
> >
> > Specifying the home directory using `~` (tilde) in `--load-path` does
> > not add the proper path to
> >
> > Does not work (not who "mypackage":
> >
> >   guix package --load-path=~/path/tp/my/project -A mypackage
>
> It seems related to long vs short options, not to the expansion.

I am wrong. It is about the expansion. When using the short option,
then the expansion is done by the shell.

Note that it should be the same for '--manifest=~/path/to/manifests/'.
And all the '--long-options=~/path/to/something'.

Well, I do not find a function to expand tilde in Guile.

All the best,
simon