From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8BkKAFO6PWciwQAAqHPOHw:P1 (envelope-from ) for ; Wed, 20 Nov 2024 10:30:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 8BkKAFO6PWciwQAAqHPOHw (envelope-from ) for ; Wed, 20 Nov 2024 11:30:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=gBhSvKhJ; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=dZHarAqw; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732098642; a=rsa-sha256; cv=none; b=fzqw0Tb9Q8Sm0T+G6IDx8JBCq98qkx3UdBQ5DswnhVOJ7rJ5sG+PC/mMxOdK1R/QRj3hBn wA+r9mWM/aSEkETp36L7wpsXAs5Z7M9FotAypCyWSF2YConOypZwXqn4m8+YyPjAahI+dR hTLNGQMXYDcFQuAznFyFbQTzFG1uGKGbFryV9jBn9skHUqv/0an9jJn6JTp7JOGZRTxqqX m0cM2rOBeRAVOUTtbRd8EsTOMYdYFzbA4qlNX3r/pi7C3v5u0XoqVpUPUahN08bBRuIPWZ GtPqeupOl3T2GEzZQn/0HfO6XpJ19h9c6eSr03zAHEJTeQS6tKmboCrZQdWFJQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=gBhSvKhJ; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=dZHarAqw; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732098642; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hW1GqXqj/CqXFETyqzOus2bLjIkpN/LZR2q71Fq0xws=; b=NLnqAQtKSKrFjNn+ekDXOJDDFKfBKzQRshRlGM8NynEzVWmbf7lIwaz1Cd+WzVe3CjNOXt 5SZHS0qUmB0fejcNfS5bzZG3iUYynoazunu45hgLubs2neaYJPJp07ZAD63wme58AaDDb9 tyVRtx+jkrxYfpVb2rgc63reGksth9KRIJdEZea9z6MtrjkTmGe7yhmkmgnL6nwMaKschn 8vNcMnYV9KqXEuJYJsOExhv3wX4z/Hayc4tXW/z50wLiyhBwKaIUfox16cuoIbYGNZ5V0L 2gjGABu/vpl4/iofVHOlGixguFUInaso5/4+R6pQVvx2I0sFzKhEckrkadlw6w== 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 1C9362468 for ; Wed, 20 Nov 2024 11:30:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDhyK-0001aw-4E; Wed, 20 Nov 2024 05:30:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDhyG-0001aV-Dp for bug-guix@gnu.org; Wed, 20 Nov 2024 05:30:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tDhyE-0004Vr-E2 for bug-guix@gnu.org; Wed, 20 Nov 2024 05:30:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=hW1GqXqj/CqXFETyqzOus2bLjIkpN/LZR2q71Fq0xws=; b=gBhSvKhJ95vpbEbkf13HkSCvoGM4Qd1xI2U1BynUgiZ5mKHOeCFrZgbELclSYc+O6KqTERtb8/7kSGfuq059y8D0Mt3XeOfugHJdc/op6J8llae5+4vTfKZRFdCDmypij0GCgNeyjCR1kjY+nmNKxiHx2/Av3ymFpRNabcoiKovVrqjjOi5I9K9sZhxk7TUlzPajolhD68Ypzbg9q6nX3iIr+FEL6e7zc8htN5aC5DNTyJ48mMuvsdo/v3RKDevWYhmmFQgn2GjwAaxpoJN09wUj39aBDfxWLmZeQksusdnxaGvpea5UfyI8S//IwGXfnUQrin4Yq0bDsbvhAjEnFA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDhyE-0004X4-8w for bug-guix@gnu.org; Wed, 20 Nov 2024 05:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74015: 'guix shell --export-manifest' fails for some transformations Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 20 Nov 2024 10:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74015 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Simon Tournier Cc: 74015@debbugs.gnu.org Received: via spool by 74015-submit@debbugs.gnu.org id=B74015.173209856117346 (code B ref 74015); Wed, 20 Nov 2024 10:30:02 +0000 Received: (at 74015) by debbugs.gnu.org; 20 Nov 2024 10:29:21 +0000 Received: from localhost ([127.0.0.1]:45447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDhxY-0004Vi-PM for submit@debbugs.gnu.org; Wed, 20 Nov 2024 05:29:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDhxW-0004VW-UU for 74015@debbugs.gnu.org; Wed, 20 Nov 2024 05:29:19 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDhxR-0003uK-N4; Wed, 20 Nov 2024 05:29:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=hW1GqXqj/CqXFETyqzOus2bLjIkpN/LZR2q71Fq0xws=; b=dZHarAqwEkVeFWNYSpmW VIHem8MzJLoMGB4f+F5GMOOIdzmF2q/tAymavh42Fm5QH9UCm1iUcvHu1HpKMli/aU92etBIDG9A6 4Rbivc3Uk36kZIdchmrhsnCPUrwLrCO7FoeglvRmQBwqyI7eA67CWQxfQh+1+4D3/ua654v3Kc6qQ BeyQi3OLnpXnpMIhLAEW1VLDjYPYFgePwqFvu7wT4pBSb9JlulI5QGTDDvxFcd3nwOW7EXy4WPCVC Mz6jjksOvbvDIPtl1cLnK7yPr+qh5fIFSXNN9PEOEkRe7CQ9a671R6GteH90AouGYW4TkPDz65lRq EzLsp7+JPpu6qQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87serzxmpj.fsf@gmail.com> (Simon Tournier's message of "Sun, 10 Nov 2024 14:06:16 +0100") References: <87a5eshzzy.fsf@gmail.com> <87v7wvwc6t.fsf@gnu.org> <87serzxmpj.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?UTF-8?Q?D=C3=A9cadi?= 30 Brumaire an 233 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Rouleau 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: Wed, 20 Nov 2024 11:29:11 +0100 Message-ID: <87ttc2yz9k.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 1C9362468 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -8.64 X-Spam-Score: -8.64 X-TUID: PvwZSk6ojDQL Hi, Simon Tournier skribis: > On Sun, 10 Nov 2024 at 12:38, Ludovic Court=C3=A8s wrote: > >>> $ guix shell -m manifest.scm --export-manifest >> >> =E2=80=98--export-manifest=E2=80=99 is meant to =E2=80=9Ctranslate=E2=80= =9D a command line, which it can >> do faithfully; there=E2=80=99s no way it could possibly =E2=80=9Crecreat= e=E2=80=9D what >> =E2=80=98manifest.scm=E2=80=99, which may contain arbitrary Scheme code = (and someone who >> already has a =E2=80=98manifest.scm=E2=80=99 file probably doesn=E2=80= =99t need >> =E2=80=98--export-manifest=E2=80=99). > > Yes, one might need. :-) > > As I explained: =C2=AB That=E2=80=99s annoying in some context as =E2=80= =9Cguix pack > --save-provenance=E2=80=9D [1]. Even, it defeats the idea of a self-cont= ained > reproducible binary container. =C2=BB I see, but if you have the source =E2=80=98manifest.scm=E2=80=99, best prac= tice is to publish it. >> It=E2=80=99s necessarily a lossy process. > > This is where I disagree. :-) You are free to disagree but it=E2=80=99s a fact. > I mean, yes I agree that building profile/manifest is somehow a lossy > process because some Scheme is potentially evaluated on the road. > However, I am proposing: Aside the profile =E2=80=99manifest=E2=80=99 fil= e (lossy > process), we could store all the manifests provided by the command > line. Something as: > > /gnu/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-profile/manifest > /gnu/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-profile/manifest.orig1 > /gnu/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-profile/manifest.orig2 > =E2=80=A6 > > where manifest.orig1 and manifest.orig2 are the copy of files =E2=80=99fo= o.scm=E2=80=99 > and =E2=80=99bar.scm=E2=80=99 from: > > -m foo.scm -m bar.scm Hmm yes, maybe =E2=80=98guix pack -m manifest.scm --save-provenance=E2=80= =99 could arrange to put =E2=80=98manifest.scm=E2=80=99 inside the pack, similar to h= ow =E2=80=98guix system reconfigure=E2=80=99 inserts =E2=80=98configuration.scm=E2=80=99 ins= ide the system. I=E2=80=99m all for it! Thanks, Ludo=E2=80=99.