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

From: zimoun <[email-masked]>
Date: Thu, 30 Apr 2020 17:31:48 +0200

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.

The short option works:

  guix package -L ~/path/to/my/project -A mypackage

but not the long '--load-path='.

> I would expect ~ and ~username to work, too.

Same for '~username'.

Well, I think it is related to bug #40549, see [1].

[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40549#14

All the best,
simon