From: zimoun <zimon.toutoune@gmail.com>
To: Emmanuel Medernach <Emmanuel.Medernach@iphc.cnrs.fr>,
help-guix <help-guix@gnu.org>
Subject: Re: Trying to replicate guix packages list on another machine
Date: Mon, 27 Jun 2022 17:39:42 +0200 [thread overview]
Message-ID: <87czeuw1xd.fsf@gmail.com> (raw)
In-Reply-To: <791b01c6-2b63-b9b3-3f52-c9e1796bc1a1@iphc.cnrs.fr>
Hi,
On Mon, 27 Jun 2022 at 16:51, Emmanuel Medernach <Emmanuel.Medernach@iphc.cnrs.fr> wrote:
> Thanks, here is the resulting manifest:
>
> (specifications->manifest
> (list "gsl"
> "pcre"
> "icu4c"
> "zlib"
> "cmake"
> "make"
> "gcc-toolchain@4.9"
> "glibc"))
>
> [Machine B]$ guix time-machine -C ~/.config/guix/channels.scm -- package
> -m manifest.scm -p profile-A
Here you are installing in the profile ’profile-A’…
> [Machine B]$ guix package --list-installed | sort | awk '//{ print $1
> "@" $2; }'
…and here, you are listing the packages in the default profile
~/.guix-profile. Instead you should run,
machine-B$ guix package -p profile-A -I
Last, as Julien pointed out, it might be possible that on ’Machine-A’
the packages are from various states. You can give a look at:
machine-A$ guix package --list-generations
and so, it is possible that the packages you installed do not match the
current state of Guix. For instance, you could compare:
machine-A$ guix package --export-channels
machine-A$ guix pull -f channels
Well, if you did:
guix pull
guix install gsl
guix pull
guix install pcre
guix pull
guix zlib
etc.
the profile is not composed by only one state therefore it cannot be
replicated. Only a rough approximation can be made.
Or if you did:
guix install gsl pcre icu4c etc.
guix pull
then “guix describe” does not provide the Guix state of the installed
packages.
Cheers,
simon
next prev parent reply other threads:[~2022-06-27 15:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-27 13:49 Trying to replicate guix packages list on another machine Emmanuel Medernach
2022-06-27 14:32 ` zimoun
2022-06-27 14:51 ` Emmanuel Medernach
2022-06-27 15:39 ` zimoun [this message]
2022-06-28 6:30 ` Emmanuel Medernach
2022-06-28 8:08 ` zimoun
2022-06-27 14:42 ` Julien Lepiller
2022-06-27 14:56 ` Emmanuel Medernach
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=87czeuw1xd.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=Emmanuel.Medernach@iphc.cnrs.fr \
--cc=help-guix@gnu.org \
/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).