unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: ’guix package --export-manifest’ using ’@version’?
Date: Thu, 07 Jul 2022 18:53:48 +0200	[thread overview]
Message-ID: <861quwq2xv.fsf@gmail.com> (raw)
In-Reply-To: <8735fdymzc.fsf@gnu.org>

Hi,

On Thu, 07 Jul 2022 at 17:13, Ludovic Courtès <ludo@gnu.org> wrote:

> The “@X.Y” bit is added only when necessary to disambiguate the package
> spec.  So with today’s Guix, we have:

Yes, but it is not what I reported initially [1]; it was:

1: https://yhetil.org/guix/868rp8zosc.fsf@gmail.com

--8<---------------cut here---------------start------------->8---
$ guix time-machine --commit=fb32a38db1d3a6d9bc970e14df5be95e59a8ab02 \
       -- package -p gnu/store/vmn2b3cmfwf250i65rgvkamyr4971q7m-profile
       --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 "python" "python-numpy"))
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
$ guix package -p gnu/store/vmn2b3cmfwf250i65rgvkamyr4971q7m-profile \
       --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 "python@3.8" "python-numpy@1.17"))
--8<---------------cut here---------------end--------------->8---


However, I am not able to reproduce; because I removed this profile – it
comes from my attempt to reproduce Docker pack.  Other said, note that
the profile is not in /gnu/store/ but extracted from a Docker pack built
with --save-provenance.

Trying other examples, I am not able to see it again.  Hum?!


Sorry for the noise if it is a bug between the keyboard and the chair. ;-)


> In these cases, we cannot omit the “@X.Y” bit because the manifest would
> then designate something different.

I agree.


Sorry for the noise.  The current behaviour is the one we agree and is
expected.  I thought that I have observed another.  Hum?!

Well, time for me to take summer holidays? :-)


Cheers,
simon


      reply	other threads:[~2022-07-07 17:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-04 19:00 ’guix package --export-manifest’ using ’@version’? zimoun
2022-07-07  7:57 ` Ludovic Courtès
2022-07-07 13:19   ` zimoun
2022-07-07 15:13     ` Ludovic Courtès
2022-07-07 16:53       ` zimoun [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=861quwq2xv.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ludo@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).