From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QKAFBmwSx2K2kgAAbAwnHQ (envelope-from ) for ; Thu, 07 Jul 2022 19:05:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QF/7BWwSx2JBgAEA9RJhRA (envelope-from ) for ; Thu, 07 Jul 2022 19:05:48 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8D42E45106 for ; Thu, 7 Jul 2022 19:05:47 +0200 (CEST) Received: from localhost ([::1]:47088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9Uwj-0007IW-8d for larch@yhetil.org; Thu, 07 Jul 2022 13:05:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9Uvp-0007I0-1p for guix-devel@gnu.org; Thu, 07 Jul 2022 13:04:49 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:33382) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9Uvm-0006q3-VB; Thu, 07 Jul 2022 13:04:48 -0400 Received: by mail-wr1-x42e.google.com with SMTP id h17so14051473wrx.0; Thu, 07 Jul 2022 10:04:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=PY0x36OiKptFHfJVZNR2CoCMzV6LWdkpuEkJfqRqXA0=; b=fklf129yuMvLRVmFZH+d2W2zfdJyh8wPw+7IiZB3MuaRCGNabwwBzLIYB+WUmN2l7x rqiJ3SifMe8D6fQa5gSGmYSLwW1PwfwqxMwAEpoJ5Xco6G/MfGgSnEyppYgfECGiU6fv kZvybiUZTFtYqE0aHPFEsOlS8qqSmaOR9mtXd0/tPgYfbF7ir9TaENOlpqwn1Hn8Y2TZ fmSeMLEnZSeGXXB4gg8TBdcCAj1GNA7ZI+njvWYjB5OtNGEFdhSssPoN0FgssJw/Szes vxtfiwP16B9uxPv/hnv1ff1G4HMvKre6DpKWbUC2Ff9UhL2pDt7N5Iswy/RE1ifG//sN zfAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=PY0x36OiKptFHfJVZNR2CoCMzV6LWdkpuEkJfqRqXA0=; b=xBqv1TzIuY4to8OCod+v8pioWiw/GxSsIWMQ4z/Mwbw6omPRfw40iomp+BGmwweNqV GyUPDlyFBwfzCLTzkudEQsPRep9TyBfo63dS/8mKDorP+oZW/1rApX04cAsL0l9PLcoa Ej5VeefjoqOOqNMx3fYhTTIAJGbmBjUk3zaBRQxrsoSOqJwSd5YahqZhCt7YKWTh1KMU Rt6Hd5ABW9qw3ugidAtt6SSI/dB1bMczwsYlV3wpt79bl1wS/UPDJ78p2Qr6oatUvO4a CE0K4uB/wU0vW3arPvAbQrXHSrNtIbs9idjkTU4KWT/yoxbymnk+BfAs2eEQsIx01DV1 OQvg== X-Gm-Message-State: AJIora/ZM7XJUPitvK58qnLBN+2pBZfyRtP65q6gVBvr1CBpjvpB7hpY rWG8zkqe/pDJtt/fFDWQj9Cv2+giqD8XduXl X-Google-Smtp-Source: AGRyM1uAbzJaZS+lloOSwsOoRWuLOI7gyYPAcsQAbNDd6GVUXD/Nux6p3vFxqPOvHLuRcVmXrSPXEg== X-Received: by 2002:a5d:6da8:0:b0:21d:2598:4e28 with SMTP id u8-20020a5d6da8000000b0021d25984e28mr45991788wrs.373.1657213483825; Thu, 07 Jul 2022 10:04:43 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id k1-20020a5d6281000000b0021b9e360523sm39814052wru.8.2022.07.07.10.04.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 10:04:43 -0700 (PDT) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Guix Devel Subject: Re: =?utf-8?Q?=E2=80=99guix?= package =?utf-8?Q?--export-manifest?= =?utf-8?Q?=E2=80=99?= using =?utf-8?B?4oCZQHZlcnNpb27igJk/?= In-Reply-To: <8735fdymzc.fsf@gnu.org> References: <868rp8zosc.fsf@gmail.com> <87h73t1hke.fsf@gnu.org> <86pmihoyb3.fsf@gmail.com> <8735fdymzc.fsf@gnu.org> Date: Thu, 07 Jul 2022 18:53:48 +0200 Message-ID: <861quwq2xv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657213547; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=PY0x36OiKptFHfJVZNR2CoCMzV6LWdkpuEkJfqRqXA0=; b=jW8hWzvZYsEqhxPu/I75mp+hbNtG9/L9/+XvqeN9eMlFWF0WzJBrUryV67NjdV2JKrMrg8 Asc4lP42kIUfDTYswu1cxhiBfKinOt8R85Xo+JQ4DdtTJdwlxYWgpro13dTfsYvbqVt8TA e2TvljdWqyy/Nfy6ojPaXd/dpJjKYn81juKOb3ghf58ch9fYV7SPxb4qEzIUaPQfp04cxV TeNocuvgfvKEpb1bm6f87/MQPiAR8M2ExlU1fO800zhq++4qKsau04KR8ssgYrsmWXb3VP nucz5YlVAnvM6rxRD9vQJNPPV4DxoWD7Y17LCC1DXjEZ2uFDsnsLcK4x176QlQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657213547; a=rsa-sha256; cv=none; b=ibXZyzVt+BVjGb8cHbS5K5KqVjEMIUtBXB0ngfbp3A+4i9zfJztofkOch9eSK1v8/mAwxW 23KlQDDm4cpH+MBAh5A5NsDE9psYShGfI7Z+6m3bwpvjHNE089Htm7Ja73XzY53ZK0mpUV EvDuReKGCjqSjFCElZ73yQAQcKtHGP3F9bzPzOpHtf8Jeq3pZNp/HzAINf5LSJLHtxnuIa K4EYhwlyxhX2qbY6+V5DraT7IbHqZ3+s0PZswFkA0A6vDclfPtCSOnzJSk2YyDbytlZcnh pZel9yVTlDEihujptYSAiTPZEBn37p1yJZA4uzTE9SaB94VOCC7g7uYIgy9S8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fklf129y; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.45 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fklf129y; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8D42E45106 X-Spam-Score: -1.45 X-Migadu-Scanner: scn1.migadu.com X-TUID: pb1Ai5RZUfsj Hi, On Thu, 07 Jul 2022 at 17:13, Ludovic Court=C3=A8s wrote: > The =E2=80=9C@X.Y=E2=80=9D bit is added only when necessary to disambigua= te the package > spec. So with today=E2=80=99s 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=3Dfb32a38db1d3a6d9bc970e14df5be95e59a8ab02 \ -- 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 =E2=80= =93 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 =E2=80=9C@X.Y=E2=80=9D 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