all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: George Clemmer <myglc2@gmail.com>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>,
	YOANN P <yoann_mac_donald@hotmail.com>
Subject: Re: ~/.guix-profile/manifest usage with "guix package -m [manifest]" / "guix pack -m [manifest]" etc..
Date: Tue, 02 Oct 2018 14:46:13 +0200	[thread overview]
Message-ID: <87sh1oms8a.fsf@gnu.org> (raw)
In-Reply-To: <cucmurxzaj5.fsf@gmail.com> (George Clemmer's message of "Mon, 01 Oct 2018 16:17:50 -0400")

Hello,

George Clemmer <myglc2@gmail.com> skribis:

> YOANN hit an error when trying to do 'guix package -m
> ~/.guix-profile/manifest'. Why would one want to do this? Maybe to
> (re)produce a configuration previously reached by a series of 'guix
> package -i' operations?

I agree this would be nice, but be aware that this is not quite possible
because those files don’t have enough information to rebuild packages.

Starting from a few weeks/months ago, ~/.guix-profile/manifest records
upstream VCS information, like this:

     ("libreoffice"
      "6.1.2.1"
      "out"
      "/gnu/store/y4l3r7nh0dg3d8qaifz96ffab4jpjl3s-libreoffice-6.1.2.1"
      (propagated-inputs ())
      (search-paths ())
      (properties
        (provenance
          (repository
            (version 0)
            (url "https://git.savannah.gnu.org/git/guix.git")
            (branch "master")
            (commit
              "f8e710684e5c3f866413dff825ba17bdffceac5d")))))

With this info and with inferiors and channels, it becomes possible to
rebuild the package (if we make simplifying assumptions.)

So I understand the need and agree that it would be nice.  But for now,
I strongly recommend “manifests as passed to ‘guix package -m’” because
they’re much more expressive, especially with the introduction of the
inferior API:

  https://issues.guix.info/issue/32759

HTH!

Ludo’.

  parent reply	other threads:[~2018-10-02 12:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-25 19:55 ~/.guix-profile/manifest usage with "guix package -m [manifest]" / "guix pack -m [manifest]" etc YOANN P
2018-09-26 10:19 ` Ludovic Courtès
2018-09-27 20:03   ` YOANN P
2018-09-27 21:49     ` Alex Kost
2018-09-29 16:33     ` Ludovic Courtès
2018-10-01 20:17   ` George Clemmer
2018-10-01 22:40     ` YOANN P
2018-10-02 12:46     ` Ludovic Courtès [this message]
2018-10-02 16:55       ` George Clemmer
2018-10-02 20:41         ` Ricardo Wurmus
2018-10-02 21:35           ` George Clemmer
2018-10-08 12:26           ` Ludovic Courtès
2018-10-10 14:07             ` George Clemmer
2018-10-11 13:44               ` Ludovic Courtès

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=87sh1oms8a.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=myglc2@gmail.com \
    --cc=yoann_mac_donald@hotmail.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.