From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eOM5AS1CUmAkMwAA0tVLHw (envelope-from ) for ; Wed, 17 Mar 2021 17:53:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iPWoOCxCUmBMKgAAB5/wlQ (envelope-from ) for ; Wed, 17 Mar 2021 17:53:48 +0000 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 689362719D for ; Wed, 17 Mar 2021 18:53:48 +0100 (CET) Received: from localhost ([::1]:49566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMaMd-0002xY-Hv for larch@yhetil.org; Wed, 17 Mar 2021 13:53:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMZnI-0004If-A6 for guix-devel@gnu.org; Wed, 17 Mar 2021 13:17:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39971) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMZnH-00078V-Ac; Wed, 17 Mar 2021 13:17:15 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48616 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lMZnG-0000l2-SI; Wed, 17 Mar 2021 13:17:15 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: [bug#47163] Using package transformations declaratively References: <87tupb8nzs.fsf@gnu.org> <87blbjt5es.fsf@yoctocell.xyz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 =?utf-8?Q?Vent=C3=B4se?= an 229 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= 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, 17 Mar 2021 18:17:12 +0100 In-Reply-To: (zimoun's message of "Tue, 16 Mar 2021 18:23:08 +0100") Message-ID: <87a6r13dk7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel , Xinglu Chen , 47163@debbugs.gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616003628; 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; bh=+ucqQhlOyVs2yoIK3d1fFqMHZkOhfBTk1j74FFglF+k=; b=UydC3H6uG4w8cFIJGqayGK9oMDp+Rh5mcKr4MVIc7IqDp5v7mMjPeEfVxZc+xiJsj2MDb+ t0k44VZa3X9BwAUI5CWoCt6yvTzFfuO4ny+e1WUSt/W1d3to3z9IZNBdRI9qNamLUsvHcB 3z3ubF79H25BeIGQZsFLVJAbdZNTtTBeh8bEDRzvElkhsfTcYYJ4slgXuW1p4P4tslcWAm PRrkzOrfP9Iafsegq4p8xYtnkcQ6EWWMZPu45FWAFn/HOo1+1lN4rlOP6ui6nRvMIYUw26 CZpxR/zpSVwsmPAmQv/zUN6caOYePRP9M8j8XVM0RTi7HFmp77KCcZj1CMFl9Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616003628; a=rsa-sha256; cv=none; b=Q7kYj0V+qEb+3Mw7sMZTk7ie98zDzZph6eNE0B8NzgucyTD4PN3DSKz6tIL9x9kWuijHaj mV3hXLMlQ/+PDk2an3t9dYGpfLFAuSwp3Rmh7g1oaVaENwpitd1PKUYZF0Hbnv71S+l3PT lTHn3A7gQ4njSfif2f9WVpRjsnq7yEw+4ThRt/EAkomgT79fFffkJHhxI0VYGkIYAo079r FM3j9fGCD6ON6WkAaS9Ns6iuh0uibIkO0OsJ31LUNWv+zqNE9h/Ix5B1ucxNyjv/w3/B7d IKhVdP06fXN94HnjHU0d93ZT97IJZquLVjhw9LG8WVRPop0xGQP5Vac0Q1FSfw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.40 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 689362719D X-Spam-Score: -1.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: Tlx5XgaSC2dF Hi, zimoun skribis: > There is several ways to have package transformations at the manifest > level. One is: > > (use-modules (guix transformations)) > > (define transform1 > (options->transformation > '((with-c-toolchain . "hello=3Dgcc-toolchain@8")))) > > (packages->manifest > (list (transform1 (specification->package "hello")))) On this topic, do not miss this section of the fine manual: . :-) Ludo=E2=80=99.