From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +ARxCp06El8ZRwAA0tVLHw (envelope-from ) for ; Fri, 17 Jul 2020 23:56:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aDIyBp06El+lLgAAbx9fmQ (envelope-from ) for ; Fri, 17 Jul 2020 23:56:13 +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 3A2C994053C for ; Fri, 17 Jul 2020 23:56:12 +0000 (UTC) Received: from localhost ([::1]:52312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jwaD3-0003oX-SI for larch@yhetil.org; Fri, 17 Jul 2020 19:56:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jwaCv-0003o6-U5 for bug-guix@gnu.org; Fri, 17 Jul 2020 19:56:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46610) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jwaCv-0001bj-LT for bug-guix@gnu.org; Fri, 17 Jul 2020 19:56:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jwaCv-0001WR-J0 for bug-guix@gnu.org; Fri, 17 Jul 2020 19:56:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42212: [PATCH 0/1] Use nearest tag as the version string in documentation. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 17 Jul 2020 23:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Efraim Flashner , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 42212-submit@debbugs.gnu.org id=B42212.15950301295797 (code B ref 42212); Fri, 17 Jul 2020 23:56:01 +0000 Received: (at 42212) by debbugs.gnu.org; 17 Jul 2020 23:55:29 +0000 Received: from localhost ([127.0.0.1]:58154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwaCP-0001VR-37 for submit@debbugs.gnu.org; Fri, 17 Jul 2020 19:55:29 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:37720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwaCL-0001VA-1o for 42212@debbugs.gnu.org; Fri, 17 Jul 2020 19:55:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Q+IcVA60kHVctc8VEa669RL6PxAiFCpxucLMuDdxuh0=; b=ZyINDhNqpZefmNJEEl3JR9QjKY w//ZNZj8DKsGu20ok1vra+H0TGeYtsMCRw6uYkGkT2ogkpqtpmdu1X0i3kJvpjnuCXYeEoVqScC2Z GGKKTUVbGbO7O8xqR0732Yqf16ZpTRk+EjD0rAgGFqR78RgHzpMrd2o92NQuC0VV+bbQ=; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1jwaC1-0015Vr-26; Sat, 18 Jul 2020 05:25:05 +0530 From: Arun Isaac Date: Sat, 18 Jul 2020 05:25:02 +0530 Message-Id: <20200717235503.19809-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200716193629.GJ10256@E5400> References: <20200716193629.GJ10256@E5400> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42212@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=systemreboot.net header.s=default header.b=ZyINDhNq; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 5.09 X-TUID: oJUUiUZdxMRl We can't actually use (guix config) since it doesn't have a useful version number in this stage of the build process. See the use of make-config.scm in build-program of build-aux/build-self.scm. We need to use the nearest tag but that requires the git repo and we drop that in the channel checkout. See use of dot-git? in latest-channel-instance of (guix channels). To remedy this, I am generating .version before discarding the git repo. WDYT? Arun Isaac (1): self: Use nearest tag as the version string in documentation. guix/channels.scm | 15 ++++++++++++++- guix/self.scm | 11 +++++++---- 2 files changed, 21 insertions(+), 5 deletions(-) -- 2.26.2