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 ms9.migadu.com with LMTPS id 0E0RF1SdnWSc0AAASxT56A (envelope-from ) for ; Thu, 29 Jun 2023 17:03:48 +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 ENMAF1SdnWRcygAA9RJhRA (envelope-from ) for ; Thu, 29 Jun 2023 17:03: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 269D31EAE for ; Thu, 29 Jun 2023 17:03:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qEtB0-0002pa-RU; Thu, 29 Jun 2023 11:03:18 -0400 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 1qEtAx-0002pL-1G for guix-devel@gnu.org; Thu, 29 Jun 2023 11:03:15 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qEtAv-0000En-3l for guix-devel@gnu.org; Thu, 29 Jun 2023 11:03:14 -0400 Date: Thu, 29 Jun 2023 15:02:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1688050983; x=1688310183; bh=42Tw1bIJHQJiKIjMiHCIEozI0yWFA0D6/da5DOfaxys=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=ZkNAy8Zmfo5w7+5uC52azgYRF3Vi6SvdJxdoSNzjMg4mzr7n+3u9cjLFC4MQVu7Uf qta1q9f7rCjcIzMjUdTpZm52KsgRzHHQACsv1PaveuLhsjRwYodTHs60gxLqk8jeaw MFGj7qcJFr6PH4pj7KeD9/oBR5XV8pq6bOVGYNAMMX92Dx6RwfpRi0DOJSVkKrHk/M PCM4KmAtz/jozTj+/Rk4rcdJ/kxvhzGCWuJheG6luREtp/tyG/QC0WpEkJkClAn4Sz 1fw6bAkfdj+TP5mv2blpQ6Za/YqJLh4dVDF2jQPjytLAc2GUedYKiTvoqiOZq41l2y ogAsIppvDLwmA== To: Csepp From: John Kehayias Cc: guix-devel@gnu.org Subject: Re: modifying (rather than fully replacing) a build phases Message-ID: <87352a8g6k.fsf@protonmail.com> In-Reply-To: <87leg3t10k.fsf@riseup.net> References: <875y788kne.fsf@protonmail.com> <87leg3t10k.fsf@riseup.net> Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.131; envelope-from=john.kehayias@protonmail.com; helo=mail-40131.protonmail.ch 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_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688051028; a=rsa-sha256; cv=none; b=Hu75n6ZETEEeYpL4fH/LvrweyxYUz9pIWsUfEicSDpy1IB7Hb2uAogmWMFbmYFmqKhozCl G4RVwEtAUQZlXmYHoiY0/ryLBj5gjq9RSUgwhDS0i1IRZ9zUje1WFnO8eQItsoBiSHCqjg Yztx04Yi0kxzqjvaYX8ZtCY/YD2bpIsmjbWHpYCfWMQwKbVD34fSusDxfUaRYL5A+mYa+l 90vvghyEiOUJbwQzS6Ir6FrsVqlaf1mWZoTUIwDrNb4lXQKIcxOlz/0lPl1S7fo3x3PeJU MosqJTun7DRPBVOqaw7VEdy72Q/mCUiJirc+6vnBRNuOUQCJfekfdd6MdEK15Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=ZkNAy8Zm; dmarc=pass (policy=quarantine) header.from=protonmail.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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688051028; 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=42Tw1bIJHQJiKIjMiHCIEozI0yWFA0D6/da5DOfaxys=; b=dIXYnnyL0Oh7cuoCX1kXgA5whaYrDcySDa3y5rli2CJ7cHYLELkuustZKma2AqnlbYh1YK c3sGjbPYJcQF6pfa0AjXCQXl1IgCjmtUt0CuidULyT5YhGDlliw0QoPv4TNBfjNlM6LB8m wawXFydx66tJKXYM563vA4atIdb5RzWPngbWX87ys3m/x2TQPTB7wDkK+SxwkUz8giQ0rj l1Wtsyx4gAEwBteLJCIOV16+/yWbaLIsQ9oahmj2tpLLRgzJs/7cYhb4OEbFP3jDUEtW3T mbgHTak4U4Z6y38qk8BOEspGgelyy6whrBD1yhIJehZJB7stirXGkP/sHXpDSw== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=ZkNAy8Zm; dmarc=pass (policy=quarantine) header.from=protonmail.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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -7.96 X-Spam-Score: -7.96 X-Migadu-Queue-Id: 269D31EAE X-TUID: Us2B6H8Sl71l Hi Csepp, On Thu, Jun 29, 2023 at 02:30 AM, Csepp wrote: > > I think I've used assoc-ref to find the build phase I wanted and then > called it from something else. It's not super pretty, but it works. Yes, you can get phases from other build-systems, for instance, which is needed sometimes. Here I meant actually modifying such a phase, rather than just using/replacing/removing it. Perhaps that is not so straightforward currently. (And like you said, getting phases from elsewhere can feel a little clunky, luckily not needed too often from what I've seen.) John