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 8J8nL82r/F/YFwAA0tVLHw (envelope-from ) for ; Mon, 11 Jan 2021 19:49:33 +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 AOcQK82r/F9tMAAAbx9fmQ (envelope-from ) for ; Mon, 11 Jan 2021 19:49:33 +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 021EA940341 for ; Mon, 11 Jan 2021 19:49:33 +0000 (UTC) Received: from localhost ([::1]:39294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kz3Bz-0000c9-T7 for larch@yhetil.org; Mon, 11 Jan 2021 14:49:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz2Zt-0006Md-U8 for help-guix@gnu.org; Mon, 11 Jan 2021 14:10:09 -0500 Received: from mout01.posteo.de ([185.67.36.65]:39373) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz2Zq-0007TN-SY for help-guix@gnu.org; Mon, 11 Jan 2021 14:10:09 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 756BB16006C for ; Mon, 11 Jan 2021 20:10:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1610392204; bh=MyR4zUeq2IiRgMtoF64xX/Na1OlyCQ1PsJrvQsKV2ZU=; h=Subject:To:Cc:From:Date:From; b=NgkGYUsmiOAj2LNNfc6jkWaOv2qovd7pOIm0F/Ni1JvecqDRoBcJcHWVXvKQsA/nF SEi1Jdo5DthSpgnVe44n3fkqW/77xr/TMYZqDkVkCWKfeFXCG718/Ua/uoG5NWZBZM qUiSwWsv2R7g281/oHeUPM7/sClMWUGvGInALEhDIMqfaiZpVX0nm469BkeoMizfPX zlvmR5rOrwwmOvNTdFQxo3TvU5iTwgbuH6duk+pp9mUlpSU31IeVr8n/w+RIpQHwcZ 6cxHuyn38ok6/YwpKCI5qPzAo7O3MMvc2eQs4ha+Lx5hae7GpBP6QiEdoP9pprC7Vs JYC3OVY1FN+Bw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DF3Dm5V2Qz6tmM; Mon, 11 Jan 2021 20:10:00 +0100 (CET) Subject: Re: Find installed library version of GNU Guix commit x To: zimoun References: <623ed7b0-b6c6-596a-8f66-a0d146cc9852@posteo.de> <86v9c3qx3g.fsf@gmail.com> From: Zelphir Kaltstahl X-Tagtoolbar-Keys: D20210111201000169 Message-ID: <553ab65f-360f-5fbe-91a4-fbf036d2dcd7@posteo.de> Date: Mon, 11 Jan 2021 20:10:00 +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: <86v9c3qx3g.fsf@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: -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, NICE_REPLY_A=-0.001, 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 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: -3.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=NgkGYUsm; dmarc=pass (policy=none) header.from=posteo.de; 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: 021EA940341 X-Spam-Score: -3.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8kEm4UynGa9S Hi Simon! Yes! That is what I was looking for. Thank you! Regards, Zelphir On 1/11/21 5:04 PM, zimoun wrote: > Hi, > > On Thu, 07 Jan 2021 at 20:03, Zelphir Kaltstahl wrote: > >> ~~~~ >> 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? > [...] > >> I see the version. How can I look up that info in the created environment? > I am not sure to understand your question. I am guessing… :-) > > Once you are in: > > guix package -p $GUIX_ENVIRONMENT -I > > but this is no robust and for example it does not when the environment > is created with --container or --pure; because ’guix’ does not exist by > default. > > Otherwise, give a look at the optioj --root. > > All the best, > simon -- repositories: https://notabug.org/ZelphirKaltstahl