From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KLQaCTJnXmQZmgAASxT56A (envelope-from ) for ; Fri, 12 May 2023 18:20:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oA/KCDJnXmTzfAEAauVa8A (envelope-from ) for ; Fri, 12 May 2023 18:20:02 +0200 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 D33881A298 for ; Fri, 12 May 2023 18:20:01 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxVUR-0008O3-Ci; Fri, 12 May 2023 12:19:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxVUP-0008Nj-Hm for help-guix@gnu.org; Fri, 12 May 2023 12:19:29 -0400 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pxVUN-0005cL-Qc for help-guix@gnu.org; Fri, 12 May 2023 12:19:29 -0400 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2ac8cc8829fso94153831fa.3 for ; Fri, 12 May 2023 09:19:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683908366; x=1686500366; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=qHy9I/K+d/MDg0pAl74CVGvdv81X0F6w3oJDN+KqJW4=; b=ZxBXqojxa0IGwW02ex2CLtc29OsxqfaZWGPll22+eE9Kbbo6n9SXQxBVNAgVJehBS6 get4f6zmLQYX8mriEiO2I4QqcctNAPyoUOya4s3UdmXZtf0o+3RP+GeHiu5e56fV4b4I foH/LmWTyh3aSBRNP4Uz/lytAx631XRh/wmKbw5lWz585bj7oP5WnWEM9l/oHSfjVE7b BMX3VqMHPpbXX2ElE+4CccEQdfL7uTfLiCxXwJS9Zaj5OvNc51cee4/Xztf1Kl4M3IMx q8siIRSRaBW9p4p8UHOmtY4tmDp++cL85x1tIkkG7rNP58akpA3Ae4IpGQwqLNwoDVbG d1ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683908366; x=1686500366; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=qHy9I/K+d/MDg0pAl74CVGvdv81X0F6w3oJDN+KqJW4=; b=UpqspFU58JC9/XEDxRG+n2tkNKV2+DUj11iXfBqDxpORJykoe8XCW8IyaFD84HPE9G H7J70fIRCM4pJiPfB5y30k3CtEjvEbRCkG+MxpMJscBZCUC1/mG9eiegTspe1OQmQ5nC FDmRaak+s6KVrmc2ZEP9AQtNrGmf9dw+XQd0SaYD4StckMabJkhLVH9+93rFEQdBEnJw 4yUcqeVvvxP0HyKLpESn+7Cb1EpEju5cubZoj70E5bltcXSZ8HAzMkNRIe6inRXuJH9K fIHDBmVda8MxmhzjQ+ZP27qsntelUx0JPrPZVTqesNoR+Ut0mWU0uYjxbCNajoQqLutZ xndA== X-Gm-Message-State: AC+VfDwpcHfBHw6UT3ZxG1GMf2c+ODffbWQ5uOKYRjQ6PsHzY+piq7mH trGKuJBAs4lwFRokgYwY2w8YB3kpLMFrYg== X-Google-Smtp-Source: ACHHUZ6drwo/48iUCWPw3NLZrdHIrzhnupq135c/mpKSTNz6MYPD8o/1hJUR59DdAtF30YnjanVeuA== X-Received: by 2002:a2e:9804:0:b0:2ac:8f73:1f9c with SMTP id a4-20020a2e9804000000b002ac8f731f9cmr4261765ljj.1.1683908365886; Fri, 12 May 2023 09:19:25 -0700 (PDT) Received: from mini (82.131.106.46.cable.starman.ee. [82.131.106.46]) by smtp.gmail.com with ESMTPSA id w26-20020a2e999a000000b002adb60e46d3sm1089523lji.81.2023.05.12.09.19.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 May 2023 09:19:25 -0700 (PDT) From: =?utf-8?Q?Andr=C3=A9_A=2E_Gomes?= To: Simon Tournier Cc: help-guix@gnu.org Subject: Re: guix shell without arguments References: <871qjlizan.fsf@gmail.com> <87bkip215f.fsf@gmail.com> Date: Fri, 12 May 2023 19:19:25 +0300 In-Reply-To: <87bkip215f.fsf@gmail.com> (Simon Tournier's message of "Fri, 12 May 2023 14:18:52 +0200") Message-ID: <87ednlh69e.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::22d; envelope-from=andremegafone@gmail.com; helo=mail-lj1-x22d.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-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683908401; a=rsa-sha256; cv=none; b=J4TyO9sAddAtLXlmqJW+j/f6xwt77nKmDC8e69XGq37/+1nGBYTjVkOiRA3U4uzN34Rrd8 jNOalf8qAay2/3lk+iy/2W7X6P62PSAOGkESUSCodeL9Q07z2AlqYQik7OwsSmpsoUNGiO SgPCV1IeFHnPbzkMHay20RatZ8xSdCRxgggq4H1PAZobfbQd8z5myN/PhK1nsuT7Znu2hk Es8+mwmR/v4NyrWf6FOsRWjEjN3zcrjDsTgxsIsOawXEKDlEm+aqp3YubTnnvVX0PLvBgI 1E17LVtQUlk+8FaL0Vk4caeOPBcH1NSWvS+qI8aW9bU71OPU5QIcFt25LTH1wA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=ZxBXqojx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683908401; 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:dkim-signature; bh=qHy9I/K+d/MDg0pAl74CVGvdv81X0F6w3oJDN+KqJW4=; b=Wu87pjIJRvX4eL3f1Ep+1KpIr/fe74Ezn48qzIal8NntBbTXmX7BJXW71UMVFZTrS/+4mf x8auL9qRo6YJ+8dDDJmqrIXuEyXmDoWTQ8yM0Emafs6GTY1qhvX0OJyeQUUwm2ldvtm8xV Zh7cf5yZAjmuyZM9m7dnrAlGZRUYZKSkEf0vIW3nSeQsiVFlzOOzYHNcUWBYI/3KW7pzOt OTiFBM6zTu8jl8mA8EJGaO3EvjZ/USr3jxg/3EGRiSL7RJoc1pKxAiRQXQ7jzafeAdL/rw /opJAeTQAFDyxDXI5R54q5iYcc4GErBKWb9mYMk8VeBIcTcBMVTCSmwOhwi0ng== X-Migadu-Spam-Score: -10.10 X-Spam-Score: -10.10 X-Migadu-Queue-Id: D33881A298 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=ZxBXqojx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-TUID: 67vVPspGeDVG Simon Tournier writes: > On ven., 12 mai 2023 at 14:06, Andr=C3=A9 A. Gomes wrote: >> The incantation below creates an empty environment. But wouldn't it be >> nice if it would infer manifest.scm or guix.scm, in case they exist in >> the current directory? >> >> --8<---------------cut here---------------start------------->8--- >> guix shell -- foo-command >> --8<---------------cut here---------------end--------------->8--- > > That=E2=80=99s already the case, no? From the manual: > > If it finds a manifest.scm in the current working directory or any > of its parents, it uses this manifest as though it was given via > --manifest. Likewise, if it finds a guix.scm in the same > directories, it uses it to build a development profile as though > both --development and --file were present. In either case, the file > will only be loaded if the directory it resides in is listed in > ~/.config/guix/shell-authorized-directories. This provides an easy > way to define, share, and enter development environments. > > > > Is it a regression? Hello Simon, Indeed, I have interpreted that section from the manual in the same as you did. However, as I've mentioned in the previous message, "guix shell -- foo-command" creates an empty environment and then runs foo-command (regardless of the existence of guix/manifest.scm). I don't think it ever behaved otherwise, and this seems to be backed by Dave's message. Dave, indeed, I belong to that 1st group of people that expect a DWIM behaviour. Thanks. --=20 Andr=C3=A9 A. Gomes "You cannot even find the ruins..."