unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
To: zimoun <zimon.toutoune@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Find installed library version of GNU Guix commit x
Date: Mon, 11 Jan 2021 20:10:00 +0100	[thread overview]
Message-ID: <553ab65f-360f-5fbe-91a4-fbf036d2dcd7@posteo.de> (raw)
In-Reply-To: <86v9c3qx3g.fsf@gmail.com>

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



      reply	other threads:[~2021-01-11 19:49 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
2021-01-11 19:10       ` Zelphir Kaltstahl [this message]

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=553ab65f-360f-5fbe-91a4-fbf036d2dcd7@posteo.de \
    --to=zelphirkaltstahl@posteo.de \
    --cc=help-guix@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).