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 00:52:42 +0100 [thread overview]
Message-ID: <3bdc596b-42dd-9e44-9f14-0ffa383fc29f@posteo.de> (raw)
In-Reply-To: <623ed7b0-b6c6-596a-8f66-a0d146cc9852@posteo.de>
Hi all!
I thought about it again and perhaps the simplest variation of the
question is:
How to list versions of installed packages of temporary "environments"
(best from command line, using a guix command)?
Regards,
Zelphir
On 1/7/21 8:03 PM, Zelphir Kaltstahl wrote:
>
> Hi simon!
>
> I'll try to paraphrase my question:
>
> If I run:
>
> ~~~~
> 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?
>
> With version, I mean something like "3.5.0".
>
> When I do:
>
> ~~~~
> guix install guile-json
> The following package will be installed:
> guile-json 4.4.1
> ...
> ~~~~
>
> I see the version. How can I look up that info in the created environment?
>
> Regards,
> Zelphir
>
> On 1/7/21 1:30 PM, zimoun wrote:
>> Hi,
>>
>> On Wed, 6 Jan 2021 at 20:52, Zelphir Kaltstahl
>> <zelphirkaltstahl@posteo.de> wrote:
>>
>>> I would like to know a command line way of finding the version of a
>>> library, which I install, when I am using time-machine as follows:
>> [...]
>>
>>> So I already learned today:
>>>
>>> 1. Revisions seem to be the same thing as commit ids in the version
>>> control system. Just a different name for the same thing.
>>>
>>> 2. Apparently package derivations are "the versions following from a git
>>> commit of Guix", but there can be more shown, than I expected.
>>>
>>> Can you help me Guix noob out?^^
>> What are you asking? Sorry, I am confused and I am not sure to understand.
>>
>> About the Data Service, the commit ranges work per "state". See [1]
>> for an example. Therefore, they are not always accurate.
>>
>> 1: https://lists.gnu.org/archive/html/guix-devel/2020-11/msg00420.html
>>
>>
>> All the best,
>> simon
> --
> repositories: https://notabug.org/ZelphirKaltstahl
--
repositories: https://notabug.org/ZelphirKaltstahl
next prev parent reply other threads:[~2021-01-10 23:53 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 [this message]
2021-01-11 16:04 ` zimoun
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
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=3bdc596b-42dd-9e44-9f14-0ffa383fc29f@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).