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 AI8sDWiT+18VRgAA0tVLHw (envelope-from ) for ; Sun, 10 Jan 2021 23:53:12 +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 wA7sCGiT+1+UdwAA1q6Kng (envelope-from ) for ; Sun, 10 Jan 2021 23:53:12 +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 547AD9402D6 for ; Sun, 10 Jan 2021 23:53:11 +0000 (UTC) Received: from localhost ([::1]:37894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kykWE-0006o8-9L for larch@yhetil.org; Sun, 10 Jan 2021 18:53:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kykW4-0006mk-3b for help-guix@gnu.org; Sun, 10 Jan 2021 18:53:00 -0500 Received: from mout02.posteo.de ([185.67.36.66]:45671) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kykVq-0005bi-U0 for help-guix@gnu.org; Sun, 10 Jan 2021 18:52:58 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 6D6562400FC for ; Mon, 11 Jan 2021 00:52:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1610322763; bh=rZOgKB932nwDE6uXyXa1R0zdMSmsYo6PvYQHp9D/jYo=; h=Subject:From:To:Cc:Date:From; b=c+8o5qlNTOjzehKjlcHtvIlZn9RBxV6LWCf27/GGtL7SZ7P8+yMGTi4vGy34al4zI uIkJ894FnALxGXyJcGPKsDlcTPzd8UPZOzpxKHZkSgohE49FQDiunUv5HKXI9akVjm jiKywqQdFcNHHVgzo3OgCZzRwq07lGUsuYDe6mvxkvVzd3phlW4ftrDnEHOUUId6H3 mVztw9CmrZExfTqVbVnivkQCfMSfmoyYIYv24Q4iv+uoQ0/84l2C/2lXuR+dniha6W JX+17Ms8KZRW/eD5nF4tHUWFy6XBWt/+7GCTEORPCc86uZviXCUsVSIY9zm/UXEjag 7evVyYQtSIGIQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DDYYQ5MkRz6tmK; Mon, 11 Jan 2021 00:52:42 +0100 (CET) Subject: Re: Find installed library version of GNU Guix commit x From: Zelphir Kaltstahl To: zimoun References: <623ed7b0-b6c6-596a-8f66-a0d146cc9852@posteo.de> X-Tagtoolbar-Keys: D20210111005242124 Message-ID: <3bdc596b-42dd-9e44-9f14-0ffa383fc29f@posteo.de> Date: Mon, 11 Jan 2021 00:52:42 +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: <623ed7b0-b6c6-596a-8f66-a0d146cc9852@posteo.de> Content-Language: en-US Received-SPF: pass client-ip=185.67.36.66; envelope-from=zelphirkaltstahl@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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.012, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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=c+8o5qlN; 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: 547AD9402D6 X-Spam-Score: -1.25 X-Migadu-Scanner: scn1.migadu.com X-TUID: bihV4kupMNNr Hi all! I thought about it again and perhaps the simplest variation of the question is: How to list versions of installed packages of temporary "environments" (best from command line, using a guix command)? Regards, Zelphir On 1/7/21 8:03 PM, Zelphir Kaltstahl wrote: > > 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 -- repositories: https://notabug.org/ZelphirKaltstahl