help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Find installed library version of GNU Guix commit x


From: Zelphir Kaltstahl
Subject: Re: Find installed library version of GNU Guix commit x
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

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
>> <zelphirkaltstahl@posteo.de> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]