From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0H7bLx4cX18tHQAA0tVLHw (envelope-from ) for ; Mon, 14 Sep 2020 07:30:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qAs2Kh4cX1+ADgAA1q6Kng (envelope-from ) for ; Mon, 14 Sep 2020 07:30:38 +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 3F0E4940390 for ; Mon, 14 Sep 2020 07:30:38 +0000 (UTC) Received: from localhost ([::1]:55906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHiwf-0000YW-81 for larch@yhetil.org; Mon, 14 Sep 2020 03:30:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHisE-00042w-Mb for guix-patches@gnu.org; Mon, 14 Sep 2020 03:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40824) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHisE-00033R-Ct for guix-patches@gnu.org; Mon, 14 Sep 2020 03:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kHisE-0001on-8T for guix-patches@gnu.org; Mon, 14 Sep 2020 03:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43361] [PATCH] doc: Mention config.scm in reconfigure description Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Sep 2020 07:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43361 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Julien Lepiller Cc: 43361@debbugs.gnu.org Received: via spool by 43361-submit@debbugs.gnu.org id=B43361.16000683466966 (code B ref 43361); Mon, 14 Sep 2020 07:26:02 +0000 Received: (at 43361) by debbugs.gnu.org; 14 Sep 2020 07:25:46 +0000 Received: from localhost ([127.0.0.1]:52370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHirx-0001oI-SR for submit@debbugs.gnu.org; Mon, 14 Sep 2020 03:25:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHirv-0001o5-R6 for 43361@debbugs.gnu.org; Mon, 14 Sep 2020 03:25:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47170) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHirp-0002yw-Uw; Mon, 14 Sep 2020 03:25:37 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=44020 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kHird-0000Mo-B6; Mon, 14 Sep 2020 03:25:28 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200912214852.42e4d123@tachikoma.lepiller.eu> <87tuw19yd5.fsf@gnu.org> <0406FDEA-9602-4DD6-AF4B-4A259DBD82EA@lepiller.eu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 Fructidor an 228 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: Mon, 14 Sep 2020 09:25:15 +0200 In-Reply-To: <0406FDEA-9602-4DD6-AF4B-4A259DBD82EA@lepiller.eu> (Julien Lepiller's message of "Sun, 13 Sep 2020 19:51:21 -0400") Message-ID: <87tuw0q0pw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: 37uk+xgRTiNu Hi, Julien Lepiller skribis: > Le 13 septembre 2020 17:10:30 GMT-04:00, "Ludovic Court=C3=A8s" a =C3=A9crit : >>Hi, >> >>Julien Lepiller skribis: >> >>> this patch is a small change to the manual that should help at least >>> one confused user from >>> >>https://unix.stackexchange.com/questions/550597/what-is-the-file-to-be-sp= ecified-in-guix-system-reconfigure >>> >>>>>From dfa9439efbf1de7ffe281dac330a19c1e369e5d8 Mon Sep 17 00:00:00 >>2001 >>> From: Julien Lepiller >>> Date: Sat, 12 Sep 2020 21:46:57 +0200 >>> Subject: [PATCH] doc: Mention config.scm in reconfigure description >>> >>> * doc/guix.texi (Invoking guix system): Mention `/etc/config.scm' in >>the >>> description of guix system reconfigure. >>> --- >>> doc/guix.texi | 8 ++++---- >>> 1 file changed, 4 insertions(+), 4 deletions(-) >>> >>> diff --git a/doc/guix.texi b/doc/guix.texi >>> index a6e14ea177..c10387441e 100644 >>> --- a/doc/guix.texi >>> +++ b/doc/guix.texi >>> @@ -28919,10 +28919,10 @@ As for @command{guix package --search}, the >>result is written in >>> (@pxref{Top, GNU recutils databases,, recutils, GNU recutils >>manual}). >>>=20=20 >>> @item reconfigure >>> -Build the operating system described in @var{file}, activate it, and >>> -switch to it@footnote{This action (and the related actions >>> -@code{switch-generation} and @code{roll-back}) are usable only on >>> -systems already running Guix System.}. >>> +Build the operating system described in @var{file} (typically >>> +@file{/etc/config.scm}), activate it, and switch to it@footnote{This >>action >>> +(and the related actions @code{switch-generation} and >>@code{roll-back}) are >>> +usable only on systems already running Guix System.}. >> >>Perhaps =E2=80=9C(typically @file{/etc/config.scm})=E2=80=9D should go ne= xt to >>=E2=80=9C@var{file} must be =E2=80=A6=E2=80=9D? >> >>But if the person doesn=E2=80=99t read more than a few lines of the page,= it >>won=E2=80=99t help. >> >>I was thinking we could have =E2=80=9Cguix system reconfigure=E2=80=9D wi= thout >>arguments >>pick up /run/current-system/configuration.scm. Perhaps that=E2=80=99d he= lp? > > I think it would be even more confusing, because that file isn't even edi= table. So you'de get users thinking they must re-install the distro to chan= ge that file. I mean you could still pass a file as an argument, but if you don=E2=80=99t, it=E2=80=99d pick that one. > Others would eventually find /etc/config.scm and not pass it as argument,= then get their system reconfigured to something different than what they s= pecified. > > Maybe it should be "e.g. /etc/config, initially generated by the graphica= l installer" or something? I think =E2=80=9Ctypically /etc/config.scm=E2=80=9D is enough (and more acc= urate), dunno. Ludo=E2=80=99.