From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YBvdFT1b918cGQAA0tVLHw (envelope-from ) for ; Thu, 07 Jan 2021 19:04:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kIe4ET1b919UNAAAB5/wlQ (envelope-from ) for ; Thu, 07 Jan 2021 19:04:29 +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 924049403A9 for ; Thu, 7 Jan 2021 19:04:25 +0000 (UTC) Received: from localhost ([::1]:39900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxaa7-00017a-9W for larch@yhetil.org; Thu, 07 Jan 2021 14:04:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxaZl-00016M-Qj for help-guix@gnu.org; Thu, 07 Jan 2021 14:04:02 -0500 Received: from mout01.posteo.de ([185.67.36.65]:58822) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxaZh-0001SO-WC for help-guix@gnu.org; Thu, 07 Jan 2021 14:04:01 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 7E9BB16005F for ; Thu, 7 Jan 2021 20:03:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1610046234; bh=03EUmcYi4Vp9L42K4bs/Tto+crpM2ztszW9XmbP7f34=; h=Subject:To:Cc:From:Date:From; b=bxBsGFuGv+XO/GZPfxSxiNWgCZTGuDt7QdRHV/TwzzX9HemTXS0XZQvgkBZnhyPu/ tzzpf72Glhk8hJmcTlMfTC1n04qeEZhAlLtpzvd6vvytaA3Kfk5pSmFGeeUQohgBjD /4vFkrCULUiScz57S1vYhknN22ZOayuxAhC+ho6L3CgxaW4gMvIbFZVlWBmgd7Ivaf 4T/fd1RX524C1lRlptpK7V8BjRZhiGBxjen9uyjLLRhdouyRnOXzBukGcNnzjb9uSy qp0ZZwdyHaCLv2lrNTftd30NcfAuZWo4kXBtdcVYfgb9vMW4oAf6WVSVxg+l0Nd832 93fENmLaN0uaA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DBbHY6Vm4z9rxW; Thu, 7 Jan 2021 20:03:53 +0100 (CET) Subject: Re: Find installed library version of GNU Guix commit x To: zimoun References: From: Zelphir Kaltstahl X-Tagtoolbar-Keys: D20210107200353274 Message-ID: <623ed7b0-b6c6-596a-8f66-a0d146cc9852@posteo.de> Date: Thu, 7 Jan 2021 20:03:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=185.67.36.65; envelope-from=zelphirkaltstahl@posteo.de; helo=mout01.posteo.de X-Spam_score_int: -46 X-Spam_score: -4.7 X-Spam_bar: ---- X-Spam_report: (-4.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.267, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.25 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=posteo.de header.s=2017 header.b=bxBsGFuG; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 924049403A9 X-Spam-Score: -1.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: e9fW15KH9FuO Hi simon! I'll try to paraphrase my question: If I run: ~~~~ guix time-machine \ --channels="${DIR}/channels.scm" -- \ environment \ --manifest="${DIR}/manifest.scm" ~~~~ Using the files I wrote about, how would I go about knowing, which version of guile-json I am really using? What command can I run, that will list me the versions of packages, which I installed into the environment, which I am temporarily creating using the above command? With version, I mean something like "3.5.0". When I do: ~~~~ guix install guile-json The following package will be installed: guile-json 4.4.1 ... ~~~~ I see the version. How can I look up that info in the created environment? Regards, Zelphir On 1/7/21 1:30 PM, zimoun wrote: > Hi, > > On Wed, 6 Jan 2021 at 20:52, Zelphir Kaltstahl > wrote: > >> I would like to know a command line way of finding the version of a >> library, which I install, when I am using time-machine as follows: > [...] > >> So I already learned today: >> >> 1. Revisions seem to be the same thing as commit ids in the version >> control system. Just a different name for the same thing. >> >> 2. Apparently package derivations are "the versions following from a git >> commit of Guix", but there can be more shown, than I expected. >> >> Can you help me Guix noob out?^^ > What are you asking? Sorry, I am confused and I am not sure to understand. > > About the Data Service, the commit ranges work per "state". See [1] > for an example. Therefore, they are not always accurate. > > 1: https://lists.gnu.org/archive/html/guix-devel/2020-11/msg00420.html > > > All the best, > simon -- repositories: https://notabug.org/ZelphirKaltstahl