Hi,

On Thu, 07 Jan 2021 at 20:03, Zelphir Kaltstahl <[email protected]> 
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

Reply via email to