all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: zimoun <zimon.toutoune@gmail.com>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: Unexpected --export-manifest with simple transformations
Date: Thu, 11 Feb 2021 00:01:46 +0100	[thread overview]
Message-ID: <87sg63zfvp.fsf@gnu.org> (raw)
In-Reply-To: <868s7wbt6d.fsf@gmail.com> (zimoun's message of "Wed, 10 Feb 2021 02:36:10 +0100")

Hi,

zimoun <zimon.toutoune@gmail.com> skribis:

> So far, so good.  Then let use this manifest to create a profile.
>
>    $ guix package -p /tmp/profile-exported -m /tmp/manifest.scm
>
> and the issue is that ’/tmp/profile-exported/manifest’ does not contain
> the transformation.  Other said:
>
> $ guix package -p /tmp/profile-exported --export-manifest
> ;; This "manifest" file can be passed to 'guix package -m' to reproduce
> ;; the content of your profile.  This is "symbolic": it only specifies
> ;; package names.  To reproduce the exact same profile, you also need to
> ;; capture the channels being used, as returned by "guix describe".
> ;; See the "Replicating Guix" section in the manual.
>
> (specifications->manifest
>   (list "hello" "python-numpy" "python"))

That’s because when using ‘-m’, transformations are not recorded.

‘--export-manifest’ can be thought of as a disassembler; in this case,
it lacks debug info to perform better.

HTH,
Ludo’.


  reply	other threads:[~2021-02-10 23:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-10  1:36 Unexpected --export-manifest with simple transformations zimoun
2021-02-10 23:01 ` Ludovic Courtès [this message]
2021-02-11  5:33   ` zimoun
2021-02-22 22:41     ` Ludovic Courtès
2021-02-25 14:48       ` zimoun

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=87sg63zfvp.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@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.
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.