From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 07 08:01:35 2021 Received: (at 50960) by debbugs.gnu.org; 7 Oct 2021 12:01:35 +0000 Received: from localhost ([127.0.0.1]:46233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYS5f-00085k-Cn for submit@debbugs.gnu.org; Thu, 07 Oct 2021 08:01:35 -0400 Received: from pelzflorian.de ([5.45.111.108]:56118 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYS5b-00085W-7K for 50960@debbugs.gnu.org; Thu, 07 Oct 2021 08:01:34 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 5BDFB3606A0; Thu, 7 Oct 2021 14:01:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1633608089; bh=P2Au4QcixRHDJDjkwyCF09xSx7NcBaz8iwLtLhq7D5A=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=J1T2l9NzhaY7hONEo+ulBlPM2jw1SpCHrmZvSt2A9DhX4UjVZFwYnws5qr4sN4goc R1mEzntMghVzkGNZd3s0ToCRZyQoNuSHFGuDSVZciULFOw/MVfFsNXTHC2HLRizR2+ m2EvMU9+sdu66C+gln0afZwpld1rZv7kS4pVdVg4= Date: Thu, 7 Oct 2021 14:01:19 +0200 From: "pelzflorian (Florian Pelz)" To: "Thompson, David" Subject: Re: [EXT] Re: [bug#50960] [PATCH 00/10] Add 'guix shell' to subsume 'guix environment' Message-ID: <20211007120119.sdhip6yvj2doslsr@pelzflorian.localdomain> References: <20211002102116.27726-1-ludo@gnu.org> <877depdw3i.fsf_-_@gnu.org> <20211007105236.xzkq5tij3g3tcdob@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 50960 Cc: 50960@debbugs.gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, Oct 07, 2021 at 07:17:43AM -0400, Thompson, David wrote: > 'guix shell' with > no other arguments should "just work" in the context of whatever > project I am in. If you only care about projects: Searching only guix.scm and manifest.scm files when a .git subdirectory is present would indeed be better than going through all parent directories. I do not know git well enough to judge if that could interfere with git worktrees and git submodules. The only remaining problem would be novice users who know “guix shell program-a program-b” and who do not expect “guix shell” without argument instead loads code from a file. I’m also afraid of git hooks btw, which is why I clone old git checkouts from the backup instead of copying, but at least they stay local to the .git checkout. I still don’t understand why not having to type --file is useful though. Regards, Florian