GNU bug report logs - #40977
Tilde-expansion in --long-options=

Previous Next

Package: guix;

Reported by: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Date: Thu, 30 Apr 2020 08:17:02 UTC

Severity: normal

Tags: wontfix

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: zimoun <zimon.toutoune <at> gmail.com>, 40977 <at> debbugs.gnu.org
Subject: bug#40977: --load-path does not honor ~
Date: Thu, 30 Apr 2020 21:21:03 +0200
[Message part 1 (text/plain, inline)]
Hartmut, Zimoun,

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

If any Python (or other) software does this, it's broken.  File a 
bug there.

This is the wrong thing to do and makes the GNU system an 
inconsistent mess.  …OK, *more* of an inconsistent, loveable, mess 
;-)

It also makes

 $ sudo guix system --load-path=~/path/tp/my/project …

and

 $ sudo guix system -L ~/path/to/my/project -A mypackage …

suddenly result in different file names.

Please don't do it.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 24 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.