From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id HrvONEXoTGFWgAEAgWs5BA (envelope-from ) for ; Thu, 23 Sep 2021 22:49:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QBnbL0XoTGH5BQAA1q6Kng (envelope-from ) for ; Thu, 23 Sep 2021 20:49:09 +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 7DAA51B98C for ; Thu, 23 Sep 2021 22:49:09 +0200 (CEST) Received: from localhost ([::1]:53982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTVeW-0007F8-Mk for larch@yhetil.org; Thu, 23 Sep 2021 16:49:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTVeF-0007Ex-3H for guix-devel@gnu.org; Thu, 23 Sep 2021 16:48:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59476) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTVeE-0006uT-Cy; Thu, 23 Sep 2021 16:48:50 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36058 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTVeE-0001aS-4L; Thu, 23 Sep 2021 16:48:50 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Attila Lendvai Subject: Re: guix environment --load vs. --file inconsistency References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 =?utf-8?Q?Vend=C3=A9miaire?= an 230 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 23 Sep 2021 22:48:48 +0200 In-Reply-To: (Attila Lendvai's message of "Thu, 23 Sep 2021 19:26:29 +0000") Message-ID: <87czoz81cf.fsf@gnu.org> 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-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" 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=1632430149; 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=JufROtPNXG9v3mp6ZFPM/hjwyJY6IUbVBtszcPkD03E=; b=k60itT5YzidKJzi6gw+zUIENPqIpYHrrs+wQFsWNj7vLaQWM1rGQkjYZJzvwAOrwDBID7W gby+41pOOEqk8SrO0b6ABCX5RfmFrVOKQOL1z0psszGpGbn/b8u7WkwGMrcQcJnDWtZbdL PTGYe946aqFYqZeBN8Cv5KtGF5ZHwmPctk7Rv/dsFW1VdaI04fw29w+UDBn4Y10nCqYAmE ps4FNZoPt68X2f6AW8aWpNKzcqfo2Ajfia98UxKh0tMToMKcZrGf4q6XxhnX8ReeXbiqQV UJUpFD9GlrBC5hEzJMpwTXu7R+OdneNbcaOPkdhShccHM3rGG3irYSX/u4a/KQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632430149; a=rsa-sha256; cv=none; b=FWYe6cvqdt5UW0jo+x1G0SjCZvrQFpP+Lkzmb/2qI/Zoi+TYNlS8NAsKMOrbWruqHTEUXl m9K2t77DDe6RIf1YP+wIpwCvFl0M8+9UNcvT5D+o0I/ZE2s/CrbsRDWw7VvW+cdFvr04Vg 1Q5gyoq/MLS3nn2KH2MXjmRZKqVbCcBu68zo6caBP4bMRLj4AmukzM0isVHqrMdSE1pZbx shFmPdGztdk/9/yTJn0btNODljBt7JfmNz4kjdISA8EOUhmSwomCBOpsWDbn3LZXUZCYpt cJKvDVOMgP/jAtAmVZEyzUkgtkqYJbOHXtqkt9HtWXCGKmyr/ewds4OAaIiV6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -1.39 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 7DAA51B98C X-Spam-Score: -1.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: horhIRKLmuvr Hi Attila, Attila Lendvai skribis: > i was writing the documentation of a guix.scm file, and i realized that t= here's an inconsistency among the three most used commands in this context: > > so, there's: > - guix build --file > - guix package --file > > and then there's: > - guix environment --load > - guix pack # has neither > > i'd propose to change guix environment to also use --file, but maybe i'm = overlooking something, so, please speak up if you think it's a bad idea! > > i never used guix pack, but maybe that also deserves a --file argument? Good point. =E2=80=98--file=E2=80=99 predates =E2=80=98--manifest=E2=80=99= ; we could perhaps deprecate =E2=80=98--file=E2=80=99 in favor of =E2=80=98--manifest=E2=80=99, though I= think there=E2=80=99s one special case not handled elsewhere: guix build -f foo.json We need to do something about it. =E2=80=98guix environment --load=E2=80=99 could be similarly deprecated, ei= ther to be eventually removed or to be renamed to =E2=80=98--file=E2=80=99. Thoughts? Ludo=E2=80=99.