From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4IvUI7c7q17TWwAA0tVLHw (envelope-from ) for ; Thu, 30 Apr 2020 20:57:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qNLpGMA7q17ASAAA1q6Kng (envelope-from ) for ; Thu, 30 Apr 2020 20:57:36 +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 7A852941B59 for ; Thu, 30 Apr 2020 20:57:35 +0000 (UTC) Received: from localhost ([::1]:51492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUGFT-0003gz-CZ for larch@yhetil.org; Thu, 30 Apr 2020 16:57:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50474) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUGE4-0002Es-1d for bug-guix@gnu.org; Thu, 30 Apr 2020 16:56:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUGDy-00054b-Sc for bug-guix@gnu.org; Thu, 30 Apr 2020 16:56:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36256) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUGDx-00052n-R2 for bug-guix@gnu.org; Thu, 30 Apr 2020 16:56:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jUGDx-0004bE-M6 for bug-guix@gnu.org; Thu, 30 Apr 2020 16:56:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#40977: --load-path does not honor ~ Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 30 Apr 2020 20:56: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: Tobias Geerinckx-Rice Received: via spool by 40977-submit@debbugs.gnu.org id=B40977.158828010617612 (code B ref 40977); Thu, 30 Apr 2020 20:56:01 +0000 Received: (at 40977) by debbugs.gnu.org; 30 Apr 2020 20:55:06 +0000 Received: from localhost ([127.0.0.1]:47802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUGD4-0004a0-4v for submit@debbugs.gnu.org; Thu, 30 Apr 2020 16:55:06 -0400 Received: from mail-qk1-f176.google.com ([209.85.222.176]:39035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUGD2-0004ZO-5B for 40977@debbugs.gnu.org; Thu, 30 Apr 2020 16:55:05 -0400 Received: by mail-qk1-f176.google.com with SMTP id s9so4595667qkm.6 for <40977@debbugs.gnu.org>; Thu, 30 Apr 2020 13:55:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=q7/uwi2L0kqK841vPngslsRPo3umSKxnFyFL3ZvXm5M=; b=RtWqgsB8p7CtjIbOmLTO+rcS/rdaPD1aJv4i5q9HXqqGts60c29/incUWK3w8KtCgC b8xVDzUJAo7ADIN1Bdar6sv/1zDYHyGlRc90kQEwbxuqqdMedUhdtlKBW91tWW/iW7GV A+kh2U/4UR9hRt8jHvV742AVP/OqIMzVSIQd/I7Px1SwpabRknfgd17n5AY8+SKiTalA ulcvN3FfLmVs5Q6g1LrjU/2iYiUHhY2evkmFEYU6o19UEjVUQqL+zTfp4S2iNX3znV/s gTAHizHL1AAisVEwpzhHqw9dRGd05UE0B278y+/eZJewXPjeEDIG1FKNqUKCuiMwQAJD smXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=q7/uwi2L0kqK841vPngslsRPo3umSKxnFyFL3ZvXm5M=; b=tXt/zfJKaM3kqYYvAgyslyDMCXOI0OAUbvZy7CYvWCTMKzYaftLAMQ6oawoX+VYPva RSctNTp2Uk1b+SSHfB3dFmap3ZUUJoKbfbOwtHOoXmbt3/5FeLzDQtdsuuTITx2MkBxP XaUknwcpwddzmV+5Z7MdkCYza5O+IAJRzaGq98yV0zni+oQPUtdRiOX3HivMYX3EOd4l l834OSCUhNPt0OMT2y2ROFnydKTCUSVf6FbBy2RSEqUadrRn0UGD7bJ93i3tXA53AP6z 0CY2uA18p3l+P/AsT3Pt7S5hCTQmFj0gZz8H+jIQn/atSsGv3g4FNonKseQNpOwyKP+o 6w5w== X-Gm-Message-State: AGi0PubJ4gDDLL3Ou7+5HFk14x9/0Il6uxfAk+aIFiK1NSfxGZBUr+Ea MXBIXA0uxJ9PGPZFK87QjHKz3Xh0YkeGPJklDVo= X-Google-Smtp-Source: APiQypJsuubSNqX4tndgkVqCGRXezBa2Mb/DxK9FLmAehv2DPaSg2eh3VA0NZiaikK8+XkHJtjkgTRLswFEMRnbuyAM= X-Received: by 2002:a37:6417:: with SMTP id y23mr468171qkb.80.1588280098423; Thu, 30 Apr 2020 13:54:58 -0700 (PDT) MIME-Version: 1.0 References: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> <52117c4b-3090-1ccf-5669-ff4c47935e19@crazy-compilers.com> <87y2qcsst3.fsf@nckx> In-Reply-To: <87y2qcsst3.fsf@nckx> From: zimoun Date: Thu, 30 Apr 2020 22:54:47 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: 0.09 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=RtWqgsB8; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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.09 / 13.00]; GENERIC_REPUTATION(0.00)[-0.49450644776297]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; DWL_DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; FREEMAIL_FROM(0.00)[gmail.com]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.17), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DKIM_TRACE(0.00)[gmail.com:-]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[zimontoutoune@gmail.com,bug-guix-bounces@gnu.org]; ARC_NA(0.00)[]; URIBL_BLOCKED(0.00)[tobias.gr:email]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[40977@debbugs.gnu.org]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; RCVD_COUNT_SEVEN(0.00)[9]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed),none] X-TUID: gY82wSPqjMr6 Hi Tobias, On Thu, 30 Apr 2020 at 21:20, Tobias Geerinckx-Rice wrote: > > Hartmut, Zimoun, > > Hartmut Goebel =E5=86=99=E9=81=93=EF=BC=9A > > 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. =E2=80=A6OK, *more* of an inconsistent, loveable, mes= s > ;-) > > It also makes > > $ sudo guix system --load-path=3D~/path/tp/my/project =E2=80=A6 > > and > > $ sudo guix system -L ~/path/to/my/project -A mypackage =E2=80=A6 > > 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 inconsistenci= es. About expansion, is it not the same question with '--load-path=3D$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. :-) > 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