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 oAG6EjwnEF+NUwAA0tVLHw (envelope-from ) for ; Thu, 16 Jul 2020 10:09:00 +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 2DGDDjwnEF+LHQAAbx9fmQ (envelope-from ) for ; Thu, 16 Jul 2020 10:09:00 +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 E60CE9404CB for ; Thu, 16 Jul 2020 10:08:59 +0000 (UTC) Received: from localhost ([::1]:50736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jw0p0-0007rN-UM for larch@yhetil.org; Thu, 16 Jul 2020 06:08:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jw0o7-0007RZ-LT for bug-guix@gnu.org; Thu, 16 Jul 2020 06:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43106) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jw0o7-0002MN-CQ for bug-guix@gnu.org; Thu, 16 Jul 2020 06:08:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jw0o7-0006Nx-7t for bug-guix@gnu.org; Thu, 16 Jul 2020 06:08:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42212: Guix version rendered as 0.0-git in info manual Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 16 Jul 2020 10:08:03 +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: Bengt Richter Received: via spool by 42212-submit@debbugs.gnu.org id=B42212.159489402624441 (code B ref 42212); Thu, 16 Jul 2020 10:08:03 +0000 Received: (at 42212) by debbugs.gnu.org; 16 Jul 2020 10:07:06 +0000 Received: from localhost ([127.0.0.1]:54644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jw0nC-0006M9-AB for submit@debbugs.gnu.org; Thu, 16 Jul 2020 06:07:06 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:54648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jw0nA-0006Le-1s for 42212@debbugs.gnu.org; Thu, 16 Jul 2020 06:07:05 -0400 Received: by mail-wm1-f68.google.com with SMTP id o8so9737651wmh.4 for <42212@debbugs.gnu.org>; Thu, 16 Jul 2020 03:07:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=E0x4Qc8ccwiVmOynBTDHgfQBpu0l6pdA/aJVl+CWlZE=; b=JYlyYWdxi74wYjl+oJEoHBJ5xF43EQLjvglcwRCrpmM+cI5iK+JliDG/7dfyOCQsqu 1kHRDHjysQRUc3phzK7cufFiN/OVkERfbwVGuPOwbOE7szC4d2BJ8pdeKAiqwSFLSszJ 4li+pfT58TwnilG4MhNIZtbSBM07ViyyhPL9UBNNy/Pi/dETvbNcx6ow5wgT63XXa8gf OvxSEP6GXQKLR6iYaWjMpBXpfuMEdsmAp3kdDZxR5I5Q8/7c8hzo/8LtDcOieFW465lf UHPOGmywvqoGM8ump9Z+jLdYCmYGTjNIj+fQdcRMVp0zZMNwuBFU0/lxOz6jZVx2q4y7 LP6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=E0x4Qc8ccwiVmOynBTDHgfQBpu0l6pdA/aJVl+CWlZE=; b=mZjcJMyabIZ9c5IwxVXudWYuyEHO0wj9Jx+Tlptvk6wC9/HW0SWX932gPB7l7+iqdm Z2yPeOyr4uURErlDhNHKHen/O+SnYpNy9jtxZCSWquLYVevBcUQZ0AZU1a6I2/rGrVB1 s3sIQvlHpnug0l1eNRcgwHopmG1ADQ4a8ZNBZmZALrjGFPi8Hcw+Bhr2rUclt/VBVJcx deCuqaCX4HrcKD/n9MgNVNcdoHeHSbXxut/AGccE5RmGFhtiNRxiDoG3ik0WysoX63kC Lwo4uQjqmfBL/5SmQygJpKRS96aV2YD3s8HStu8VWVE3GQPxlA5jD0mcGDLLY7wbqTwI Bv8Q== X-Gm-Message-State: AOAM530AQU0wO0m02irzwIJeFVT/DErp3AG5Nf5wwkfsZnVpzLKBcHQb LTyriazhbWx8lWCx1qwFBblDJ5hV X-Google-Smtp-Source: ABdhPJwlGoT6u9t+3Dy4a0cmE8FPJ8Em4wGyuya5GMSFqJTYsEClPpvAjrsXligcvNsqBmS9/mSCfQ== X-Received: by 2002:a05:600c:21ca:: with SMTP id x10mr3628197wmj.63.1594894017709; Thu, 16 Jul 2020 03:06:57 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id b18sm8428261wrs.46.2020.07.16.03.06.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 03:06:57 -0700 (PDT) From: zimoun References: <877dviv1d0.fsf@systemreboot.net> <878sfs9vak.fsf@gnu.org> <871rlczc8i.fsf@systemreboot.net> <20200716004600.GA3021@LionPure> Date: Thu, 16 Jul 2020 12:06:55 +0200 In-Reply-To: <20200716004600.GA3021@LionPure> (Bengt Richter's message of "Thu, 16 Jul 2020 02:46:00 +0200") Message-ID: <86eepbzscg.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=gmail.com header.s=20161025 header.b=JYlyYWdx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 0.09 X-TUID: Qs4xsLBwNZh/ Dear Bengt, On Thu, 16 Jul 2020 at 02:46, Bengt Richter wrote: > readlink -f /var/guix/profiles/per-user/{$USER,root}/current-guix/manifes= t|xargs grep -m1 -A1 guix > > get you? Anything useful? I am not sure the issue is to get the commit identifier. :-) Otherwise, the Guix schemish way is something like: --8<---------------cut here---------------start------------->8--- (use-modules (ice-9 match) (srfi srfi-1) ((guix describe) #:select (current-profile)) ((guix config) #:select (%guix-version)) (guix channels)) (match (current-profile) (#f %guix-version) ;for lack of a better ID (profile (let ((channel (find guix-channel? (profile-channels profile)))) (channel-commit channel)))) --8<---------------cut here---------------end--------------->8--- (From a Ludo=E2=80=99s hint for the last sources.json patch. :-)) All the best, simon