From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2mHVJD34xmIFFwAAbAwnHQ (envelope-from ) for ; Thu, 07 Jul 2022 17:14:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aMWkIz34xmLk1wAA9RJhRA (envelope-from ) for ; Thu, 07 Jul 2022 17:14:05 +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 4EAF32C459 for ; Thu, 7 Jul 2022 17:14:05 +0200 (CEST) Received: from localhost ([::1]:47282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9TCe-0007Zc-8f for larch@yhetil.org; Thu, 07 Jul 2022 11:14:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9TCN-0007XZ-UG for guix-devel@gnu.org; Thu, 07 Jul 2022 11:13:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48888) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9TCM-0005LD-Ki; Thu, 07 Jul 2022 11:13:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=R5atEEACu707TGfWINIMHHxgzfrRd664OzFdmDKQCmU=; b=HmQ7LqiyXLJLtrCxLlcW S1rLNzYvaX5MexuhFZIpA9/8y1ISiBP9z4TkUGBJD8S4L5NaK7rl5+BZT/JYPTed9ThSINYKGHJQM 5bOd/PnNlF3aKhm/qm8+OCob9TafwqjhEt8kpkSDOLUWDGt0NHhRSK/k+wFvnGca0aNXunGeDNILk 4HVkbIOb6lNXBHy9J384AzCsOpGWAfvohKV2gSVFoe/XCu0X7b+KhYYODWmlpE1GhW3FfHeIQla8X KuNT2BJ5PesWHXdOGS4PaURp4kIyLWr+y7y1BN+kLP2oRlnORLcluJLf7sy7lSxds1CW9rp+ycHnF VePT6HEwV1dDjw==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=57446 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9TCM-0007S8-7i; Thu, 07 Jul 2022 11:13:46 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun 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/?= References: <868rp8zosc.fsf@gmail.com> <87h73t1hke.fsf@gnu.org> <86pmihoyb3.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 19 Messidor an 230 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= jour de la Cerise X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 07 Jul 2022 17:13:43 +0200 In-Reply-To: <86pmihoyb3.fsf@gmail.com> (zimoun's message of "Thu, 07 Jul 2022 15:19:12 +0200") Message-ID: <8735fdymzc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1657206845; 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=R5atEEACu707TGfWINIMHHxgzfrRd664OzFdmDKQCmU=; b=iqv9Snt1O7CdFFfSyljTePwwfyc8FIbHHTz0gEFoWjpXfaZbDIy2LoR8H+2Qj8+p+6wZV2 sD6Ca9IUFfPo7LTpdukEv/xymAcmFynacXhSyNhsnVPY1rT1JVSbSwxVXFnogNZVfYuy8a EiBD9qj+CZmulUWe6WHvg6BYzuQudNaUb7EhQr8Dwx0eYmSLaht2duM4Pk/nlOQFuMHRq3 IH0SAdbx5hFgUc4g3cRVWPdi3DJYoLuvAB/xlV11CDAzTcUAipxevmE2tCLu+aCC+Ki2YJ dg9v/DFI4Uuj2FRUyK94J53nbdm651BoLjclbaBPiYMsDCfvwoDlESmODeoHrg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657206845; a=rsa-sha256; cv=none; b=FuRtdzTg93KxAuirS2N4xdMjEgs4oATshx7iExnEoEyNsiE3a/nOuP4tq6BMglKzmDn9M7 pRwPqqjAsn4XyKSpdaaMnzcor+QIyrV4zUqUfT6ZhlyhvhXEgeXenV47w4eBiaGjQXaa6S Qnnfs83sUuoMmzAO3Vs7mdJgLm/p5ooaKGNct77GttC1Fq/nf4PUMwLj2zzTN78vswQtTS rK20pjLFJP7x7tY/lVOr+KL0dAUAPi7ge3A0eOM0Y7Qih+1Kgl+y7D3j8MBO/mNfu6choD NLwbZAvYraWn6xGmTFg1ASUYDa+o1/X/KmDY84NwbK4xPp0l082k7RROPs8KOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=HmQ7Lqiy; dmarc=pass (policy=none) header.from=gnu.org; 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: -4.45 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=HmQ7Lqiy; dmarc=pass (policy=none) header.from=gnu.org; 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: 4EAF32C459 X-Spam-Score: -4.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: nRzNhxRXY8V0 zimoun skribis: > On Thu, 07 Jul 2022 at 09:57, Ludovic Court=C3=A8s wrote: [...] >> It is a departure from traditional package managers, and admittedly >> surprising to newcomers. However, my take on this is that we should be >> very upfront about symbolic vs. exact reproducibility. We would muddy >> the waters if we gave version strings the same importance as in other >> tools, when we know that a version string means very little. > > I miss about what you disagree because =C2=ABWe would muddy the waters if= we > gave version strings the same importance as in other tools, when we know > that a version string means very little.=C2=BB is the exact root of my > comment. > > By returning, > > (specifications->manifest > (list "python" "python-numpy")) > > or > > (specifications->manifest > (list "python@3.8" "python-numpy@1.17")) > > depending on the current Guix is just doing that: =C2=ABmuddy the waters= =C2=BB. > > Instead, I think =E2=80=99--export-manifest=E2=80=99 should *always* retu= rn: > > (specifications->manifest > (list "python" "python-numpy")) > > without =E2=80=99@x.y.z=E2=80=99. Other said, be in agreement with the c= omment: Oh sorry, I had misunderstood your comment. The =E2=80=9C@X.Y=E2=80=9D bit is added only when necessary to disambiguate= the package spec. So with today=E2=80=99s Guix, we have: --8<---------------cut here---------------start------------->8--- $ guix shell guile --export-manifest ;; What follows is a "manifest" equivalent to the command line you gave. ;; You can store it in a file that you may then pass to any 'guix' command ;; that accepts a '--manifest' (or '-m') option. (specifications->manifest (list "guile")) $ guix shell guile@2.2 --export-manifest guix shell: warning: ambiguous package specification `guile@2.2' guix shell: warning: choosing guile@2.2.7 from gnu/packages/guile.scm:250:2 guix shell: warning: ambiguous package specification `guile@2.2' guix shell: warning: choosing guile@2.2.7 from gnu/packages/guile.scm:250:2 ;; What follows is a "manifest" equivalent to the command line you gave. ;; You can store it in a file that you may then pass to any 'guix' command ;; that accepts a '--manifest' (or '-m') option. (specifications->manifest (list "guile@2.2.7")) $ guix shell guile@2.0 --export-manifest ;; What follows is a "manifest" equivalent to the command line you gave. ;; You can store it in a file that you may then pass to any 'guix' command ;; that accepts a '--manifest' (or '-m') option. (specifications->manifest (list "guile@2.0")) --8<---------------cut here---------------end--------------->8--- In these cases, we cannot omit the =E2=80=9C@X.Y=E2=80=9D bit because the m= anifest would then designate something different. Does that make sense? Ludo=E2=80=99.