[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Find installed library version of GNU Guix commit x
From: |
zimoun |
Subject: |
Re: Find installed library version of GNU Guix commit x |
Date: |
Mon, 11 Jan 2021 17:04:03 +0100 |
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