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 EDPeLk0Mq17WaAAA0tVLHw (envelope-from ) for ; Thu, 30 Apr 2020 17:35:09 +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 qCMtFlYMq15iIAAAB5/wlQ (envelope-from ) for ; Thu, 30 Apr 2020 17:35:18 +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 C17659427BB for ; Thu, 30 Apr 2020 17:35:15 +0000 (UTC) Received: from localhost ([::1]:43808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUD5f-00084J-IN for larch@yhetil.org; Thu, 30 Apr 2020 13:35:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59588) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUD5W-0007wh-EB for bug-guix@gnu.org; Thu, 30 Apr 2020 13:35:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUD5S-0004BE-Dq for bug-guix@gnu.org; Thu, 30 Apr 2020 13:35:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36078) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUD5S-0004B9-0i for bug-guix@gnu.org; Thu, 30 Apr 2020 13:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jUD5R-00060x-Rk for bug-guix@gnu.org; Thu, 30 Apr 2020 13:35:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#40977: --load-path does not honor ~ Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 30 Apr 2020 17:35:01 +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.158826808623096 (code B ref 40977); Thu, 30 Apr 2020 17:35:01 +0000 Received: (at 40977) by debbugs.gnu.org; 30 Apr 2020 17:34:46 +0000 Received: from localhost ([127.0.0.1]:47624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUD5C-00060S-9x for submit@debbugs.gnu.org; Thu, 30 Apr 2020 13:34:46 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:43066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUD59-00060I-Ss for 40977@debbugs.gnu.org; Thu, 30 Apr 2020 13:34:44 -0400 Received: from localhost (80-110-127-207.cgn.dynamic.surfer.at [80.110.127.207]) by dd26836.kasserver.com (Postfix) with ESMTPSA id F38933361DA7; Thu, 30 Apr 2020 19:34:41 +0200 (CEST) Date: Thu, 30 Apr 2020 19:34:39 +0200 From: Danny Milosavljevic Message-ID: <20200430193439.0db54d2f@scratchpost.org> In-Reply-To: References: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> <52117c4b-3090-1ccf-5669-ff4c47935e19@crazy-compilers.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/9OlmMkwr7P2VPm3.Pd3RIYH"; protocol="application/pgp-signature"; micalg=pgp-sha256 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: , Cc: 40977@debbugs.gnu.org, Hartmut Goebel Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: -1.11 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 [-1.11 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49411442830377]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.17), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DWL_DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[80.110.127.207:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; FROM_NEQ_ENVFROM(0.00)[dannym@scratchpost.org,bug-guix-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[scratchpost.org]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_SEVEN(0.00)[9]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: rIMJnhLtc3zG --Sig_/9OlmMkwr7P2VPm3.Pd3RIYH Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > After processing options, guix need to "expanduser()" (as it is called > in Python) on all arguments which are paths. =20 Please don't do it. UNIX has its warts, and this is a well-known one (use ${HOME} instead). If we did expanduser, I'm sure we'd be seeing bug reports about paths where there was a tilde in the actual file name, NOT as a expanduser mark. UNIX tools do what they do, and this wart is here to stay in a lot of tools. Then at least make it consistent across all the tools UNIX has. --Sig_/9OlmMkwr7P2VPm3.Pd3RIYH Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl6rDC8ACgkQ5xo1VCww uqXOzwf+L7U3vk0HQ8ehOS4D7fjZFXefXyDZuJJKjxbEz+2BSaoxUKGTSLPV6lHO m9cxMnlTbUPz8bGLa3Xp2p+7bYzAySWzEFbzjQmsKMizHVCu7FswaEHTChPlgzuj LolyLA0GqteGGQDrlfFqpq6A1wz0x3gx0oktl+M5CfZQhqYFjwGwhhYreswtsiLl mNyHgO+XZiEGuAHlAycxvJQQhJrnJ4fpEVYufHUqJPIQow4+HOLAX9K9orb9ZlcY VKcTvBEYnPp7ejwhZ9fx/KQDZHaf9I24IFvsbsnYupjxaTtJNZXuP6Erm7wA11Yn 4nB8GT2NC6RJAPx1jDy6l7DZdJoKNA== =NZhE -----END PGP SIGNATURE----- --Sig_/9OlmMkwr7P2VPm3.Pd3RIYH--