From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wCjCMYaWr2FNhgAAgWs5BA (envelope-from ) for ; Tue, 07 Dec 2021 18:14:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CBJKLYaWr2EzMgAAbx9fmQ (envelope-from ) for ; Tue, 07 Dec 2021 17:14:46 +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 90D2B2AE37 for ; Tue, 7 Dec 2021 18:14:46 +0100 (CET) Received: from localhost ([::1]:52358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mue3B-00062T-23 for larch@yhetil.org; Tue, 07 Dec 2021 12:14:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mue1W-0004pK-Tf for bug-guix@gnu.org; Tue, 07 Dec 2021 12:13:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55214) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mue1W-0005t0-Lt for bug-guix@gnu.org; Tue, 07 Dec 2021 12:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mue1W-0005Rj-Hu for bug-guix@gnu.org; Tue, 07 Dec 2021 12:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52347: Shell: error when -m manifest is removed Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 07 Dec 2021 17:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52347 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Liliana Marie Prikler Received: via spool by 52347-submit@debbugs.gnu.org id=B52347.163889712420860 (code B ref 52347); Tue, 07 Dec 2021 17:13:02 +0000 Received: (at 52347) by debbugs.gnu.org; 7 Dec 2021 17:12:04 +0000 Received: from localhost ([127.0.0.1]:38527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mue0a-0005QO-47 for submit@debbugs.gnu.org; Tue, 07 Dec 2021 12:12:04 -0500 Received: from mail-io1-f45.google.com ([209.85.166.45]:39916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mue0W-0005Pf-UT for 52347@debbugs.gnu.org; Tue, 07 Dec 2021 12:12:02 -0500 Received: by mail-io1-f45.google.com with SMTP id c3so18059428iob.6 for <52347@debbugs.gnu.org>; Tue, 07 Dec 2021 09:12:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ff1joSD7W9rkyTWgYibWXQ7ssgWfma6lrd7XTv6ldgE=; b=eUX+cPxJzTUQu6+rWAwO8SgKMfrYitqDUP9vwwr0LVsK03fJF2gq5bP7XCMJtt4KKh nRsPss4aAnIaiIHO7S8hquS3sXsTPJBKlU+xJQ4Z8+SclGJIGfNyIISN2tyroxnJE4cy m7FaJCasM26qn3j/OPB/4lUBS3GK7iW1/Ut5Ax8RqqsQTX2qRS+YWh7gw5BHH8bbeswr /Ydsy4ADCGf69Uek1v317LFFinU+F18x0x4+PRVq0AgR6xbEM08VpC2ixTEHC9xtFvEh Ea2LCEqd+tmX4Lv7em+/QfEyY4Kc6hbh+8B8OJTC6DXSdSXNVdXaUKvRhKusl9z4hsQ6 Zzww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ff1joSD7W9rkyTWgYibWXQ7ssgWfma6lrd7XTv6ldgE=; b=cqjEIw3CNkRQakVKbiiOEtBaXtM2fEFytA0usYnMWJkWmi3Sn4Q+ND5NOAP+KxEWVy PRBXgEh7L8TIs04M+wd9sFJGbRsiOEsRZC6/0hzVNhH7DgLKDMuzck6nbFq9dhwwfNFu +bqA+I2rLZ7Cs+6HWWff71zP/x7kCDhywrXU+Gqr3GZ0BRsjbaaLuWBhdPLGHHDUnCQY PQszmUVTE2o1lsMosIGs/LhC7TS7sEG7BS2uB3pXiJ3iTtDh7o4wuq7/mOlY0H4n5l9I z7rZz3xTWxk9y5SFbBCm+kXo+pBitzmM5ZiQmPbTEeEBvXW8aOycRZrteDM60Kgj3noC k3Vw== X-Gm-Message-State: AOAM533WadJo+kFXskaWhznx53t+9CpkiFCFEJMlIOKgS+5+vFPWyAuQ ZiyXEKJ13+BLW30qcqRY4S4c3yS1WuDoXJk8DV8= X-Google-Smtp-Source: ABdhPJy04Us1K6yMJPQbqRDaaQsFT+eGtUtxbzM/d35eB0fUiK+VxpifBV4i9Mbw4I6VP1L4jihEjAbB2nOE7DveCYY= X-Received: by 2002:a5e:da09:: with SMTP id x9mr591987ioj.171.1638897115465; Tue, 07 Dec 2021 09:11:55 -0800 (PST) MIME-Version: 1.0 References: <42efa42e1112ce162cde1894cd43a2dc9eb927b4.camel@ist.tugraz.at> In-Reply-To: From: zimoun Date: Tue, 7 Dec 2021 18:11:44 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Liliana Marie Prikler , 52347@debbugs.gnu.org, cayetano.santos@inventati.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638897286; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=Ff1joSD7W9rkyTWgYibWXQ7ssgWfma6lrd7XTv6ldgE=; b=LFY8OdDmxMQqXb64Db0s1Y+2a74hM/xgU5IRnKvazd7XiEtNv3cDQyy1ALIZjeK68uyUmd K4D2VlQfqlvdV9fUTXpbnMgj/1x4L+il073Pb0zh5/H+Oa8DTKCwOtuM0Qv1f6AIS2pQGV 6pnk8w/9UtiwudfEi+zFQuqCRbj427abFUUKE/ziuVDetHY/hsHtWZpSYFMCt+lVtBLasL tY5oNXjqzSKKc1onZQ7Vs1ZerlgHBbYIpzf900rRy97mtRH2Xse9fgHefJF3nOzCSOoFB9 j4G8cqnypROvIPmNWpCUpGltA4w9XVSmlVXmEOTJG2AA1pWq+QNeCydsgvZALg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638897286; a=rsa-sha256; cv=none; b=Z6B6nIzYFcb7N8C+W+YgZub5nowvlD+73kRE8FhL67ZnoZYEbPHGjYWE1NWpCm6xQMJurF C7yldPPZGjjlk4b18RNmjr4Q0oZ1NG1g08Jx3Xo1nAB20NXL6XyV9nrM9XbYNN1nAWPSR/ Y4FfaEgotMi5KffPNE9D16Aa/AqsyRDcN4EV5DscLr1N3U6YWlQ0SmWoCARNxM8zoOp4Un 8Va73ZU07SDXa1LdxEbRU7xICi75kN+1EuG9YxSUhDLfOWiU+r7Hwuwd2e+XaYXl38zVqh erdTZjVT5BxCpIvAtibPNgHXGW9A5nslrdQhLIGJHeZ/f3I/0glAzwT7c3sefg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=eUX+cPxJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=eUX+cPxJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 90D2B2AE37 X-Spam-Score: -0.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: ylVMNrdd1I01 Hi, On Tue, 7 Dec 2021 at 17:23, Liliana Marie Prikler wrote: > > Maybe I am doing wrong but I just 'pk' in find-file-in-parent- > > directories. :-) > You are doing wrong: > > (if (or (not interactive?) ; true if giving -- COMMAND Yes, indeed. I simply grepped "manifest" and looked at 'find-file-in-parent-directories', because if it is not called, the "manifest" file cannot be loaded. :-) Then I incorrectly used the wrong command line invokation. Bad day with a lot of inattentive today. :-/ > So the pk in find-file-in-parent-directories should not even fire. I'm > pretty sure the interactive constraint has a reasoning that was > explained back then, so we should investigate carefully whether we want > to overthrow that. Warning, that noninteractive use of `guix shell' > requires an explicit manifest is also an option imo. I am in favour to keep it explicit. (Personally, I already find that "guix shell" is wrong ;-)) > By the way, if we do search for a file, but find none, the warning > (warning (G_ "no packages specified; creating an empty environment~%")) > is displayed twice; once by auto-detect-manifest and once by guix- > environment*. We should probably change that string to something that > indicates that we've attempted to auto-load a manifest. I agree. Cheers, simon