From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QLxYKBnEMGIqpAAAgWs5BA (envelope-from ) for ; Tue, 15 Mar 2022 17:51:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iGiUIBnEMGIgGwEAG6o9tA (envelope-from ) for ; Tue, 15 Mar 2022 17:51:37 +0100 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 BAC5D3AD45 for ; Tue, 15 Mar 2022 17:51:34 +0100 (CET) Received: from localhost ([::1]:33916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUAOT-0000Wd-R3 for larch@yhetil.org; Tue, 15 Mar 2022 12:51:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUANy-0000WS-N7 for guix-patches@gnu.org; Tue, 15 Mar 2022 12:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55574) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUANy-0005FM-0o for guix-patches@gnu.org; Tue, 15 Mar 2022 12:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nUANx-0004N1-Pt for guix-patches@gnu.org; Tue, 15 Mar 2022 12:51:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54393] [PATCH 0/2] Add 'guix manifest' to "translate" commands to manifests Resent-From: Greg Hogan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Mar 2022 16:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54393 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 54393@debbugs.gnu.org Received: via spool by 54393-submit@debbugs.gnu.org id=B54393.164736302616749 (code B ref 54393); Tue, 15 Mar 2022 16:51:01 +0000 Received: (at 54393) by debbugs.gnu.org; 15 Mar 2022 16:50:26 +0000 Received: from localhost ([127.0.0.1]:49471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUANN-0004M5-Mh for submit@debbugs.gnu.org; Tue, 15 Mar 2022 12:50:26 -0400 Received: from mail-pf1-f169.google.com ([209.85.210.169]:36584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUANL-0004Ln-Tc for 54393@debbugs.gnu.org; Tue, 15 Mar 2022 12:50:24 -0400 Received: by mail-pf1-f169.google.com with SMTP id z16so20663549pfh.3 for <54393@debbugs.gnu.org>; Tue, 15 Mar 2022 09:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DaqRAqJWwuzi72c98aZkpdgnqtGC59OD4VfhSX4DqPk=; b=frzHrkJkroI8FyjFyOemG38wRpFwb1b7jWqgaX+bXzFOY1pf8ZQ6X8rR9wZ2E+ysPM hygIxywSOhwcqf+yUYfnuNCuVVc5TJMTaB3A+KAIKdKNhktnP+occQAWGdFbG+mvj1Q2 9acTlViP8mzY8BeFmwO9Xgq64saOGpZvcnEGazklgqE9xfRE9HgOE6wQQNtyGjukXanH MAHLxUvUbcI4MmrSBwHJLo2oIl29OwOfg73S4wI8RoV1h2PG33OBnk2Tszb2Ju1jcBZd s/E/wMvUucgRXh8BZCwO/mNadVzWIS7/N+0XcpMt+xSs3v7V21fsyWiY/pxjKKt7qE7R eoTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DaqRAqJWwuzi72c98aZkpdgnqtGC59OD4VfhSX4DqPk=; b=O0QB8GoOqrrJfLVBqt95jhaHEdNHJ6GXW4MQsxtzkY+7tCtGuBzSNbZdYIHU8Kt/Zv cmkrPQoyitedSmdOq7QLpq6ltnSnPKESEa92S6Y/CHLsQDo2aRt2tqmDX4c5wmLkgus9 J8tJpbNN0nWYPIDkyP/Bqb7wGJHYLiAdPAv2rMiZM0iQHd2Uqkm9HUsqTqmWocQhUzWe 5zfRTGMsiF2YLInJarGoI8HqTr26VOo8aNfmqjp+3Imsi3VnhzM4Q08C1L0g+Aoabsyx sJ7s643XVfrC2U/ylW1tKIg8D7/tUsCFgXTtlKlJ9ZBZRFRPAseL3wMT/Bu73MYN9zL5 +mEQ== X-Gm-Message-State: AOAM530MsvT8JvS11h83CjCCvInCkwC+sPOYQYF5yE2dG/Tbf+sdluiU +3Mb9OWnWONjhpXhRvEvITgz2LpIDNc3oYGUi8ds22PSg5eKOQ== X-Google-Smtp-Source: ABdhPJwhSb5F56GoGma+9XbvHL+sP/Ye2RLLj/ajNLEsFyhq5kRyEA75sSo28hs5SpFwEd0vqohGdGZ+/zBtayyVXLY= X-Received: by 2002:a65:5941:0:b0:375:9bfd:473d with SMTP id g1-20020a655941000000b003759bfd473dmr24650340pgu.348.1647363017862; Tue, 15 Mar 2022 09:50:17 -0700 (PDT) MIME-Version: 1.0 References: <20220314215015.24435-1-ludo@gnu.org> In-Reply-To: <20220314215015.24435-1-ludo@gnu.org> From: Greg Hogan Date: Tue, 15 Mar 2022 12:50:06 -0400 Message-ID: Content-Type: multipart/alternative; boundary="0000000000007f080b05da4497fd" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1647363095; 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: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=DaqRAqJWwuzi72c98aZkpdgnqtGC59OD4VfhSX4DqPk=; b=tD7p4l3xTkolepR5278OJf9Db5bHHsZz80B4caprahpvruVRykP62IswCIL2dioDBExT2x WHnzNON6sP5jraXq+Kzg4pgV/TazhaR7djzW/yC+lJ+/UjGBtPA+mAzBC8SJCkH0Tn317E hTx0WNgxl9RD0uGdChwWKTrfP3kH/Bw/7gWGo6b8j6m+66nSJFCw+c1VuwZN+D3rLWO0rp B93CGQfFHU0TZyZVba2s2bj0ucfB8h/x5ZmtOwPBJITEV2EZL445d8yAHL1lPvHDKy6GWA Q07OWqWhDdA92pwSNpIAe1DG+4nF2er1oGdsxTh/xNGzg0XBalRSndggGpwIdw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647363095; a=rsa-sha256; cv=none; b=cIID0FcKJqOcpKFiiVinkOAy/1QeX3jTVD5gWOoPKyVlVgw0Ju59b3oncp5QHhXv3Hp9yR VElnoePIYYjn/QU7336QDjErcUQdVh0Kd6Tz8vrCAUu3uYXaOkNtiGmCwb1K0H1V1/TUJ6 qRlIvyiDR03iMaaUAPsxCu+qsWyockprBuls4GmeoI23LRpmY2ZvWPmJcv4S/1h+VFg29n g9jdw+Zf8I39tG0rTpmhujsy5nS6kE5QpOuvs8FbRBltAeiN5N3AxM7CAcjPIDqTx4gfy/ A6VNhT9yINuu7VdPJyOTXO7XbaY1kYV77c6Ezg9W7YFPD7Q40JT0z++wMnxJRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=frzHrkJk; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=frzHrkJk; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BAC5D3AD45 X-Spam-Score: 0.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: MlRxABSpA5w1 --0000000000007f080b05da4497fd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 14, 2022 at 5:53 PM Ludovic Court=C3=A8s wrote: > Next up: adding a =E2=80=9CWriting Manifests=E2=80=9D section. > Ludo', I would find this quite helpful. The current "basic setup with manifests" only documents the trivial case. It would be quite nice to document best practices for custom UTF-8 profiles, system-dependent inclusion (should we silently skip packages on unsupported systems?), and updating package versions, inputs, and/or toolchain. And for the latter, what are the limits of the manifest as compared with cloning, modifying, building, and executing with "./pre-inst-env guix ..." (which loses reproducibility)? Some background on that last thought: as Guix grows it becomes increasingly difficult to upgrade popular dependencies. I looked at upgrading 'fmt' and there was one dependent package that could not be upgraded, though not a package I needed. I'd like to be able to define an upgraded version of 'fmt' or 'boost' in my manifest and have it apply to the entire installation (profile or pack) rather than needing to modify specific packages with a with-input. Same for the toolchain, I think it would be nice to simply say "create this installation using gcc-toolchain" (the user default @11 rather than the system default @10) without needing any package transformations. And could one specify global build flags such as "-march=3Dnative"? Can one reach down into and modify commencement packages? Greg --0000000000007f080b05da4497fd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Mar 14, 2022 at 5:53 PM Ludovic C= ourt=C3=A8s <ludo@gnu.org> wrote:=
Next up: adding a =E2=80=9CWriting Manifests=E2=80=9D section.<= br>

Ludo',

I w= ould find this quite helpful. The current "basic setup with manifests&= quot; only documents the trivial case. It would be quite nice to document b= est practices for custom UTF-8 profiles, system-dependent inclusion (should= we silently skip packages on unsupported systems?), and updating package v= ersions, inputs, and/or toolchain. And for the latter, what are the limits = of the manifest as compared with cloning, modifying, building, and executin= g with "./pre-inst-env guix ..." (which loses reproducibility)?

Some background on that last thought: as Guix grows= it becomes increasingly=C2=A0difficult to upgrade popular dependencies. I = looked at upgrading 'fmt' and there was one dependent package that = could not be upgraded,=C2=A0though not a package I needed. I'd like to = be able to define an upgraded version of 'fmt' or 'boost' i= n my manifest and have it apply to the entire installation (profile or pack= ) rather than needing to modify specific packages with a with-input. Same f= or the toolchain, I think it would be nice to simply say "create this = installation using gcc-toolchain" (the user default=C2=A0@11 rather th= an the system default=C2=A0@10) without needing any package transformations= . And could one specify global build flags such as "-march=3Dnative&qu= ot;? Can one reach down into and modify commencement packages?
Greg
--0000000000007f080b05da4497fd--