From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QDesNhPHq15CfQAA0tVLHw (envelope-from ) for ; Fri, 01 May 2020 06:52:03 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mDfAKRzHq14pZAAAB5/wlQ (envelope-from ) for ; Fri, 01 May 2020 06:52:12 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CA4AF942D58 for ; Fri, 1 May 2020 06:52:11 +0000 (UTC) Received: from localhost ([::1]:55974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUPWs-0005cF-J8 for larch@yhetil.org; Fri, 01 May 2020 02:52:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37736) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUPWl-0005c6-9o for bug-guix@gnu.org; Fri, 01 May 2020 02:52:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUPWk-0003Tf-MR for bug-guix@gnu.org; Fri, 01 May 2020 02:52:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUPWk-0003TD-8k for bug-guix@gnu.org; Fri, 01 May 2020 02:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jUPWk-0003RU-6g for bug-guix@gnu.org; Fri, 01 May 2020 02:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#40977: --load-path does not honor ~ Resent-From: Bengt Richter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 01 May 2020 06:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40977 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun Received: via spool by 40977-submit@debbugs.gnu.org id=B40977.158831589613200 (code B ref 40977); Fri, 01 May 2020 06:52:02 +0000 Received: (at 40977) by debbugs.gnu.org; 1 May 2020 06:51:36 +0000 Received: from localhost ([127.0.0.1]:48132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUPWK-0003Qq-50 for submit@debbugs.gnu.org; Fri, 01 May 2020 02:51:36 -0400 Received: from imta-37.everyone.net ([216.200.145.37]:55986 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUPWI-0003Qh-5S for 40977@debbugs.gnu.org; Fri, 01 May 2020 02:51:34 -0400 Received: from pps.filterd (omta004.sj2.proofpoint.com [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 0416mXlf016279; Thu, 30 Apr 2020 23:51:32 -0700 X-Eon-Originating-Account: icDb1qVfg4xpeh8x-wicHEAaC8H5tIc-INKnAuMDsK4 X-Eon-Dm: m0117124.ppops.net Received: by m0117124.mta.everyone.net (EON-AUTHRELAY2 - 53b922d5) id m0117124.5e67f957.560f3e; Thu, 30 Apr 2020 23:51:30 -0700 X-Eon-Sig: AQMHrIJeq8byptmixwIAAAAD,dba41591189b04336189f08d8586dc7a X-Eip: KNeggquqi2mIhS7wRvb5DcACmt_Haji7dU7T98ClXlM Date: Fri, 1 May 2020 08:51:20 +0200 From: Bengt Richter Message-ID: <20200501065120.GA8427@LionPure> References: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> <52117c4b-3090-1ccf-5669-ff4c47935e19@crazy-compilers.com> <87y2qcsst3.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-05-01_02:2020-04-30, 2020-05-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2002250000 definitions=main-2005010050 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Cc: 40977@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: -0.51 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Scan-Result: default: False [-0.51 / 13.00]; HAS_REPLYTO(0.00)[bokr@bokr.com]; GENERIC_REPUTATION(0.00)[-0.49473789824759]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.16), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MIME_TRACE(0.00)[0:+]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[tobias.gr:email]; FROM_NEQ_ENVFROM(0.00)[bokr@bokr.com,bug-guix-bounces@gnu.org]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bokr.com]; HAS_LIST_UNSUB(-0.01)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_SEVEN(0.00)[10]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: KtpOJOryvgfp On +2020-04-30 22:54:47 +0200, zimoun wrote: > Hi Tobias, > > On Thu, 30 Apr 2020 at 21:20, Tobias Geerinckx-Rice wrote: > > > > 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. > > Sorry to be slow. Naive questions. > > Do you mean the issue comes from who expand '~' (user vs sudo)? > Or do you mean refer to subfolder named '~, i.e., $HOME/foo/~/bar? > > I should miss a point... about what is less or more inconsistent. :-) > Because it seems more based on conventions than on consistent inconsistencies. > > About expansion, is it not the same question with > '--load-path=$HOME/path/to/' vs '-L $HOME/path/to/'? > About naming, is it possible to create a folder named '~' directly in $HOME? > > Well, I am surely not enough skilled to have an opinion but I have > learnt something. :-) > FYA:(Amusement): man bash to see what more ~ can lead to ;-) (scroll down or search for the "Tilde Expansion" section) > > > Please don't do it. > > The fact that Guile does not have a built-in ``expand-tilde`` is a > strong indication to not do it. ;-) > > > Cheers, > simon > > > -- Regards, Bengt Richter