GNU bug report logs - #55317
[PATCH] doc: Clarify guix shell's DWIM behaviour.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Liliana Marie Prikler <liliana.prikler@HIDDEN>; Keywords: patch; dated Sun, 8 May 2022 15:37:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 55317 <at> debbugs.gnu.org:


Received: (at 55317) by debbugs.gnu.org; 14 May 2022 09:17:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 14 05:17:12 2022
Received: from localhost ([127.0.0.1]:45764 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1npntc-0002yZ-Tf
	for submit <at> debbugs.gnu.org; Sat, 14 May 2022 05:17:12 -0400
Received: from eggs.gnu.org ([209.51.188.92]:34268)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1npntb-0002sw-Eg
 for 55317 <at> debbugs.gnu.org; Sat, 14 May 2022 05:17:07 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:52184)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1npntW-0007K6-63; Sat, 14 May 2022 05:17:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=92cNa2cMJcDc7OO2lFTImgnIzCilKfiFLHMj/K0N/Zc=; b=I8ngFUtiz15Njmcrf/op
 4OW3BUfDsrDrNqwd+OnReP6KO4obC6k4mMc+bgHcKHjOEmWNz6mqy2ccqs5I1/fyPYMlmkHM3py+N
 o7ANva+/eVvQbhsjCJkHcwmt1v8GQ2SvfNycFLFTxQ2nB5dmV/Dqwc+O7ztfSFo0ElhvrYb3vohuV
 /LshM8NWFhqcsFDbFI097v5IJh7XHUXdUJgqrOQuKFuXpkSKyHNXxNURFJJZeKm28n1NWXvvHy0Sn
 /QAmct5y3GDrZxk+mrDAZ7Gitek2mUDFNspuZ/rJB5daNAzX2pXoXj8HKgnnNsUQQScoMExpoRcde
 ISqITmY1rU/ciA==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:64050
 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1npntV-0004tH-Aj; Sat, 14 May 2022 05:17:01 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>
Subject: Re: bug#55317: [PATCH] doc: Clarify guix shell's DWIM behaviour.
References: <9184428ce5f7de56848b1c0018b2639dd0e8a5ca.camel@HIDDEN>
Date: Sat, 14 May 2022 11:16:58 +0200
In-Reply-To: <9184428ce5f7de56848b1c0018b2639dd0e8a5ca.camel@HIDDEN>
 (Liliana Marie Prikler's message of "Sun, 8 May 2022 17:29:06 +0200")
Message-ID: <87ee0wh3sl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55317
Cc: 55317 <at> debbugs.gnu.org, Ryan Prior <rprior@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Liliana Marie Prikler <liliana.prikler@HIDDEN> skribis:

> +++ b/doc/guix.texi
> @@ -5693,17 +5693,16 @@ before @command{guix shell} was invoked.  The nex=
t garbage collection
>  (@pxref{Invoking guix gc}) may clean up packages that were installed in
>  the environment and that are no longer used outside of it.
>=20=20
> -As an added convenience, when running from a directory that contains a
> -@file{manifest.scm} or a @file{guix.scm} file (in this order), possibly
> -in a parent directory, @command{guix shell} automatically loads the
> -file---provided the directory is listed in
> -@file{~/.config/guix/shell-authorized-directories}, and only for
> -interactive use:
> -
> -@example
> -guix shell
> -@end example
> -
> +As an added convenience, @command{guix shell} when invoked interactively
> +without any other arguments will try to do what you mean based on the
> +files it locates in the current directory or parent directories.
> +If it finds a @file{manifest.scm}, it uses this manifest as though
> +it was given via @code{--manifest}.
> +If it finds a @file{guix.scm}, it uses this package file as though
> +it was given via @code{--development --file}.
> +In either case, the file will only be loaded if the directory it
> +resides in is listed in
> +@file{~/.config/guix/shell-authorized-directories}.
>  This provides an easy way to define, share, and enter development
>  environments.

It=E2=80=99s clearer like this, so go for it!  Maybe you can keep the @exam=
ple
bit as that makes an easily visible anchor in the text.

Thank you,
Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#55317; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 May 2022 01:33:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 08 21:33:42 2022
Received: from localhost ([127.0.0.1]:55531 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nnsHO-0002Hq-H0
	for submit <at> debbugs.gnu.org; Sun, 08 May 2022 21:33:42 -0400
Received: from lists.gnu.org ([209.51.188.17]:48538)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rprior@HIDDEN>) id 1nnsHM-0002Hi-Oc
 for submit <at> debbugs.gnu.org; Sun, 08 May 2022 21:33:41 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55754)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rprior@HIDDEN>)
 id 1nnsHM-00079F-Ie
 for guix-patches@HIDDEN; Sun, 08 May 2022 21:33:40 -0400
Received: from mail-4316.protonmail.ch ([185.70.43.16]:35655)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rprior@HIDDEN>)
 id 1nnsHJ-0002M4-UF
 for guix-patches@HIDDEN; Sun, 08 May 2022 21:33:39 -0400
Date: Mon, 09 May 2022 01:33:31 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail2; t=1652060015;
 bh=+17o09sDtXdoiYjbSdRmU/yif/Y2PUOltvk3XZq7GXg=;
 h=Date:To:From:Reply-To:Subject:Message-ID:In-Reply-To:References:
 Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID:
 Message-ID;
 b=dgMgJ2FYWXDVLbEz0mDBjsCg6VVNaVFRyO/9aVuOxBo5Htty9K3qOchw90m30AtY2
 NtfjNfFx9Pq1SyTeNllOy1G0jYlFsXbm4zeruK6e83rmQhpdtdlqTo5MsKIIIEvV6U
 b1+Ae6exkD7ivZJDzpYRWiAR6tz/V/+65NQGjIBJIVbpupwQPA8E4EVzU6/NvhCHhD
 HQhxibvZSg3gZ/vX88+1FP1tqzvCLbVqXd2b0Nrp3MdXJVVtR7DZmqMtHKS3fPdxvA
 FsL1lPvEwFMa9+kPszssFv+7AbX6JozBb3sD+mCgscp/jv3VgrmsbziYO/YLA33N5b
 FyQj6z7KQB8rw==
To: liliana.prikler@HIDDEN, guix-patches@HIDDEN
From: Ryan Prior <rprior@HIDDEN>
Subject: Re: [PATCH] doc: Clarify guix shell's DWIM behaviour.
Message-ID: <9gd1OCxVgCIzswfg-8ULpRDdCsIUbN_AN6OpDNbfDDnurNxFmTHvzfUGP0OvN5Mfz6VWgA3vrIennCdVqPPZYvyHdvGADbHm2WmgmLPxN5M=@protonmail.com>
In-Reply-To: <9184428ce5f7de56848b1c0018b2639dd0e8a5ca.camel@HIDDEN>
References: <9184428ce5f7de56848b1c0018b2639dd0e8a5ca.camel@HIDDEN>
Feedback-ID: 7396961:user:proton
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="b1_UT4GWpjnHm4WKfsO32p0TAQSH8LM3UsekzFfqiHs"
Received-SPF: pass client-ip=185.70.43.16; envelope-from=rprior@HIDDEN;
 helo=mail-4316.protonmail.ch
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Ryan Prior <rprior@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

This is a multi-part message in MIME format.

--b1_UT4GWpjnHm4WKfsO32p0TAQSH8LM3UsekzFfqiHs
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64

LS0tLS0tLS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLS0tLQpPbiBNYXkgOCwgMjAyMiwgMTA6Mjkg
QU0sIExpbGlhbmEgTWFyaWUgUHJpa2xlciA8IGxpbGlhbmEucHJpa2xlckBnbWFpbC5jb20+IHdy
b3RlOgotLS0KQm9uam91ciBHdWl4LAphcyBjYW4gYmUgc2VlbiBmcm9tIDxodHRwOi8vbG9ncy5n
dWl4LmdudS5vcmcvZ3VpeC8yMDIyLTA1LTA4LmxvZyMxNjQwMTk+LAp0aGUgd2F5IGluIHdoaWNo
IGd1aXggc2hlbGwgaW50ZXJhY3RpdmVseSBkb2VzIHdoYXQgeW91IG1lYW4gaXMgb3BlbiB0bwpp
bnRlcnByZXRhdGlvbiBhbmQgZGlmZmVyZW50IGZvbGtzIG1heSBtZWFuIGRpZmZlcmVudCB0aGlu
Z3Mgd2hlbgpzcGVjaWZ5aW5nIG5vdGhpbmcuCgpUaGFuayB5b3UgTGlsaWFuYSwgdGhpcyBpcyBh
IGhlbHBmdWwgY2hhbmdlIQ==

--b1_UT4GWpjnHm4WKfsO32p0TAQSH8LM3UsekzFfqiHs
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: base64

PGJyPi0tLS0tLS0tIE9yaWdpbmFsIE1lc3NhZ2UgLS0tLS0tLS08YnI+T24gTWF5IDgsIDIwMjIs
IDEwOjI5IEFNLCBMaWxpYW5hIE1hcmllIFByaWtsZXIgJmx0OyBsaWxpYW5hLnByaWtsZXJAZ21h
aWwuY29tJmd0OyB3cm90ZTo8YnI+LS0tPGJyPkJvbmpvdXIgR3VpeCw8YnI+YXMgY2FuIGJlIHNl
ZW4gZnJvbSAmbHQ7PGEgaHJlZj0iaHR0cDovL2xvZ3MuZ3VpeC5nbnUub3JnL2d1aXgvMjAyMi0w
NS0wOC5sb2cjMTY0MDE5Jmd0OywiPmh0dHA6Ly9sb2dzLmd1aXguZ251Lm9yZy9ndWl4LzIwMjIt
MDUtMDgubG9nIzE2NDAxOSZndDssPC9hPjxicj50aGUgd2F5IGluIHdoaWNoIGd1aXggc2hlbGwg
aW50ZXJhY3RpdmVseSBkb2VzIHdoYXQgeW91IG1lYW4gaXMgb3BlbiB0bzxicj5pbnRlcnByZXRh
dGlvbiBhbmQgZGlmZmVyZW50IGZvbGtzIG1heSBtZWFuIGRpZmZlcmVudCB0aGluZ3Mgd2hlbjxi
cj5zcGVjaWZ5aW5nIG5vdGhpbmcuIDxicj48YnI+VGhhbmsgeW91IExpbGlhbmEsIHRoaXMgaXMg
YSBoZWxwZnVsIGNoYW5nZSE=


--b1_UT4GWpjnHm4WKfsO32p0TAQSH8LM3UsekzFfqiHs--





Information forwarded to guix-patches@HIDDEN:
bug#55317; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 May 2022 15:36:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 08 11:36:41 2022
Received: from localhost ([127.0.0.1]:55050 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nnixc-0007n7-SM
	for submit <at> debbugs.gnu.org; Sun, 08 May 2022 11:36:41 -0400
Received: from lists.gnu.org ([209.51.188.17]:37064)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1nnixb-0007n0-Hg
 for submit <at> debbugs.gnu.org; Sun, 08 May 2022 11:36:40 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:58230)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <liliana.prikler@HIDDEN>)
 id 1nnixb-000229-AQ
 for guix-patches@HIDDEN; Sun, 08 May 2022 11:36:39 -0400
Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]:35746)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <liliana.prikler@HIDDEN>)
 id 1nnixZ-0006Z8-Hk
 for guix-patches@HIDDEN; Sun, 08 May 2022 11:36:39 -0400
Received: by mail-ej1-x644.google.com with SMTP id ks9so16144033ejb.2
 for <guix-patches@HIDDEN>; Sun, 08 May 2022 08:36:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:date:subject:to:cc:content-transfer-encoding:message-id
 :mime-version; bh=I/P/osEOKBJLFtf/DPeS8MIsunaMhD3oFJi8kFgMkZ4=;
 b=CNq6oHXb5yCy1bpIWTXrpSrfUCqvJ8MmBoCK1T+p+j9kqrhwC6HYq6pyY8A5LzRfiO
 pS4G/MCxs4ZCWEjBxokz0ihwFdjahkLbtfQU/24trUqsSrxOI+1jgdKg5hJU1laI8L5N
 xCwWH3B6AA2Zp5lcmKjTt6NPwoJK4gOTYqVEOthdAkg9XnBWoFOdjai25JkcSJp7sSVU
 VUcY/yKDqukCyNVS7amlWBFYvCl+h030tWHpU1tMq8lZRp3r4b2nNTomkF76f324I4wS
 kfc8aXUr0b3jvddgxjd42ekRN7ZsdFNYH6IQExzm04j203FxVVU5dAhHrb8ZP3zpjQ3B
 CLXQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:date:subject:to:cc
 :content-transfer-encoding:message-id:mime-version;
 bh=I/P/osEOKBJLFtf/DPeS8MIsunaMhD3oFJi8kFgMkZ4=;
 b=i8nIDz+/kcTjry01SJYeREdshW1pT9GIjZX9xpx9OkcGPTQOfkj3dt3LAoIDz2kOt5
 DFA5noxTI61yAlFHX8WdwqAvGXH4T9SBAjwxtRNo07Or/lcZq7yMTmvRXTHV17ZrUVnP
 wa0qUPwwRjQRRgoP2VRKnBYcaB4bahBAtkPFaSf7kgGIRRfUCzh5JVPssQLAUalMdnno
 qf4Zsf/MiDpdroTSrETIATv8FX3mavajvQn7oDMsTf25jA1jKE5qapbsn/VZOo+FmGe/
 SljU1/6onMv0S2RgBk7ZM6pWqwK2RpRa+6xBtH3U0M5NrpaJ91VuP8hqxqjuF3RbOp4M
 Kajg==
X-Gm-Message-State: AOAM5307T5vzPuWFAuhogi5yhNzjj0XVkvoxfsr4y7+1IP8cZ4YFowc3
 7PNRI+SAnoaqS1Ndp9T60NmEQuyQBL4=
X-Google-Smtp-Source: ABdhPJz89eqUO5OrSIU1D9gbHecf52vpH1uLzg8GMDe4Hgw25j1KJCOQ09Msn6/u/Orin4n4ib+Ilw==
X-Received: by 2002:a17:906:4f0f:b0:6f4:667c:ff9d with SMTP id
 t15-20020a1709064f0f00b006f4667cff9dmr11528691eju.519.1652024195690; 
 Sun, 08 May 2022 08:36:35 -0700 (PDT)
Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 pj9-20020a170906d78900b006f39ffe23fdsm4173644ejb.0.2022.05.08.08.36.34
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 08 May 2022 08:36:35 -0700 (PDT)
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
Date: Sun, 8 May 2022 17:29:06 +0200
Subject: [PATCH] doc: Clarify guix shell's DWIM behaviour.
to: guix-patches@HIDDEN
Content-Transfer-Encoding: 7bit
Message-ID: <9184428ce5f7de56848b1c0018b2639dd0e8a5ca.camel@HIDDEN>
MIME-Version: 1.0
Received-SPF: pass client-ip=2a00:1450:4864:20::644;
 envelope-from=liliana.prikler@HIDDEN; helo=mail-ej1-x644.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: Ryan Prior <rprior@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

---
Bonjour Guix,

as can be seen from <http://logs.guix.gnu.org/guix/2022-05-08.log#164019>,
the way in which guix shell interactively does what you mean is open to
interpretation and different folks may mean different things when
specifying nothing.  Therefore, document guix' assumptions more clearly.

Cheers

 doc/guix.texi | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 5399584cb0..249c5956e2 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -5693,17 +5693,16 @@ before @command{guix shell} was invoked.  The next garbage collection
 (@pxref{Invoking guix gc}) may clean up packages that were installed in
 the environment and that are no longer used outside of it.
 
-As an added convenience, when running from a directory that contains a
-@file{manifest.scm} or a @file{guix.scm} file (in this order), possibly
-in a parent directory, @command{guix shell} automatically loads the
-file---provided the directory is listed in
-@file{~/.config/guix/shell-authorized-directories}, and only for
-interactive use:
-
-@example
-guix shell
-@end example
-
+As an added convenience, @command{guix shell} when invoked interactively
+without any other arguments will try to do what you mean based on the
+files it locates in the current directory or parent directories.
+If it finds a @file{manifest.scm}, it uses this manifest as though
+it was given via @code{--manifest}.
+If it finds a @file{guix.scm}, it uses this package file as though
+it was given via @code{--development --file}.
+In either case, the file will only be loaded if the directory it
+resides in is listed in
+@file{~/.config/guix/shell-authorized-directories}.
 This provides an easy way to define, share, and enter development
 environments.
 
-- 
2.36.0





Acknowledgement sent to Liliana Marie Prikler <liliana.prikler@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#55317; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 14 May 2022 09:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.