[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 20:10:00 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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 <zelphirkaltstahl@posteo.de>
> 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