From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id nZcKLWpfe2BdXgAAgWs5BA (envelope-from ) for ; Sun, 18 Apr 2021 00:21:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YAy4Jmpfe2AyOgAAbx9fmQ (envelope-from ) for ; Sat, 17 Apr 2021 22:21:30 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.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 48A8AF8DC for ; Sun, 18 Apr 2021 00:21:30 +0200 (CEST) Received: from localhost ([::1]:60344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXtJh-0002JR-A5 for larch@yhetil.org; Sat, 17 Apr 2021 18:21:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXpPV-0001wj-3l for guix-devel@gnu.org; Sat, 17 Apr 2021 14:11:13 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:38865) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXpPO-0003on-IA for guix-devel@gnu.org; Sat, 17 Apr 2021 14:11:12 -0400 X-Originating-IP: 88.126.13.52 Received: from localhost (unknown [88.126.13.52]) (Authenticated sender: francois@avalenn.eu) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 373761C0009; Sat, 17 Apr 2021 18:11:01 +0000 (UTC) Date: Sat, 17 Apr 2021 20:07:26 +0200 From: =?utf-8?B?RnJhbsOnb2lz?= To: Leo Famulari Subject: Re: GIT_EXEC_PATH Re: 1.2.1 pre-release testing Message-ID: <20210417180726.xh4hsxapmrouyle6@noop.avalenn.eu> References: <87lf9hsh9t.fsf@gmail.com> <20210417113545.6jm2zla7m5xgyyfr@noop.avalenn.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Received-SPF: none client-ip=217.70.183.197; envelope-from=francois@avalenn.eu; helo=relay5-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 17 Apr 2021 18:20:44 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, jcguu95 Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618698090; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=bZaXdzOxQGwYmWHLhiZG/d5SQ76oifj2op/dwga4ZCM=; b=HNJgQ1Gb5zZ42mVX2mx9UwjFUgNMxnXdNn2pySxrvu8v+xMnV8r2caPbbeZgseR5N+ZQcJ sVXyF93HMckVdZn/hUJN19yQ8lyxRSbH8+VY5r4qs1wRDLvAd0fbRLbEYXzDv/Ak+w6EgI aO24q/968LDGPG3Rp75HvCnQvsJKqwZQs9EoRKA8B+lXY9S2+09IpLqIBPlpxEdvuylDii 0XhzTG6yYXl45JdCdchjL95iAOhQ/QfnhBW9bldyFPcfU9KsoB6Hwjm9wxjZXWsgp748HO cT14UfFjX2X25u/p+I4wfe+3zFWzt2bIRhi9+oa+2jN0Brvi13cabgYtg4tMpA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618698090; a=rsa-sha256; cv=none; b=eYxdLBIolZbMKkf1LwTLjqrNhvnq2F5fNCMh/72XOE/HVz7rVVqZ9H4XdWRxi6eOM7JxxE 9FBpsuQ3sG6iVL3hWj+wPov8DqXeu4+ig15i1OdVPtTdCBPlGzwmBO+dV1O4tB897p15Am 6UpExsVlggLWlAbfl6rHP94Y6+iQHsfH0KLct1C8m6dT9NZoQkR16xwKCnyHCY6aj91Mw9 mO5r3gbJlN8dcwjctb4uRMpHXac2HjJobeVcvPgjwgvqpkMX8MJCchldfSTfNJSwKTYcjP ynTJk/rH5T/ME3s35KwXQXw/OWVuEhefDn+MXb2IKrQSErapZ191QKcuN4ZhVA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -2.44 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 48A8AF8DC X-Spam-Score: -2.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: GZHXMs88gZbe On Sat, Apr 17, 2021 at 01:24:51PM -0400, Leo Famulari wrote: > On Sat, Apr 17, 2021 at 01:35:45PM +0200, François wrote: > > GIT_EXEC_PATH is very probably at fault. > > > > It is set via profile to allow to use git subcommands installed by other > > packages but it has no sane default when we are outside a profile. > > > > Perhaps git should have a wrapper to manage this use-case. > > I think it does work properly in Guix, but requires the user to log in > again after installing Git. That's because a lot of Guix stuff is set up > in the login shell initialization scripts. It might even be enough to do > `bash --login` after installing the package. I had exactly the same problem on foreing distro after installing git and trying to use it without reloading ~/.guix-profile/etc/profile in my current shell. So yes, it is just a matter of refreshing the current environment. > I guess that many of us install Git right away, so we don't notice a > problem. Probably.