all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Find installed library version of GNU Guix commit x
Date: Mon, 11 Jan 2021 17:04:03 +0100	[thread overview]
Message-ID: <86v9c3qx3g.fsf@gmail.com> (raw)
In-Reply-To: <623ed7b0-b6c6-596a-8f66-a0d146cc9852@posteo.de>

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


  parent reply	other threads:[~2021-01-11 16:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-06 19:51 Find installed library version of GNU Guix commit x Zelphir Kaltstahl
2021-01-07 12:30 ` zimoun
2021-01-07 19:03   ` Zelphir Kaltstahl
2021-01-10 23:52     ` Zelphir Kaltstahl
2021-01-11 16:04     ` zimoun [this message]
2021-01-11 19:10       ` Zelphir Kaltstahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86v9c3qx3g.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=zelphirkaltstahl@posteo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.