From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2@gmail.com Subject: bug#31786: 'pre-inst-env guix --version' is not updated by new commits" Date: Tue, 19 Jun 2018 12:47:39 -0400 Message-ID: <87wouuzpsk.fsf@g1.i-did-not-set--mail-host-address--so-tickle-me> References: <87r2lddwyg.fsf@gmail.com> <87k1r4p2ca.fsf@gnu.org> <87k1r3271g.fsf@gmail.com> <87d0wvoicy.fsf@gnu.org> <87o9gf5x0t.fsf@gmail.com> <87wov3npl2.fsf@gnu.org> <20180614013938.GD29167@jasmine.lan> <87d0wttn0v.fsf@gmail.com> <87k1r1z5o0.fsf@gnu.org> <8736xnj22c.fsf@gmail.com> <87po0r674z.fsf@elephly.net> <87o9gb663j.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVJna-0007ZL-Na for bug-guix@gnu.org; Tue, 19 Jun 2018 12:48:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVJnW-0006t2-S2 for bug-guix@gnu.org; Tue, 19 Jun 2018 12:48:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48721) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVJnW-0006ss-NC for bug-guix@gnu.org; Tue, 19 Jun 2018 12:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fVJnW-000504-GR for bug-guix@gnu.org; Tue, 19 Jun 2018 12:48:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87o9gb663j.fsf@elephly.net> (Ricardo Wurmus's message of "Sat, 16 Jun 2018 00:24:32 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: George Clemmer , 31786@debbugs.gnu.org, =?UTF-8?Q?Cl=C3=A9ment?= Lassieur On 06/16/2018 at 00:24 Ricardo Wurmus writes: > Ricardo Wurmus writes: > >>> Proposed (revised) footnote: >>> >>> (3) The Guix version in the Guix build is set by './bootstrap'. Thus, >>> the version reported by './pre-inst-env guix --version' is not updated >>> by subsequent 'git pull; make' steps. To update the version (and rebuild >>> everything), use 'git clean -dfx; ./bootstrap; ./configure; make'. >> >> I=E2=80=99m wary of adding this for similar reasons that Ludo wrote earl= ier. In >> my opinion this ends up cluttering the manual with notes and what I >> consider to be only tangentially relevant for readers of the manual. > > An alternative might be to change the output of =E2=80=9Cguix --version= =E2=80=9D in the > presence of GUIX_UNINSTALLED, which is set by =E2=80=9Cpre-inst-env=E2=80= =9D. This > could be a simple change in =E2=80=9Cshow-version-and-exit=E2=80=9D that = would use > something other than =E2=80=9C%guix-version=E2=80=9D when GUIX_UNINSTALLE= D is set. > > What do others think? > > -- > Ricardo I like it.