From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WKpmLSdCMWW6TgEA9RJhRA:P1 (envelope-from ) for ; Thu, 19 Oct 2023 16:50:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WKpmLSdCMWW6TgEA9RJhRA (envelope-from ) for ; Thu, 19 Oct 2023 16:50:15 +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 70A933E977 for ; Thu, 19 Oct 2023 16:50:15 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=YoeSUi2e; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697727015; a=rsa-sha256; cv=none; b=MB8pFAbUZtMcmgjPI4LhNG6wdXMgy/Poe24UY/br2CE096K5oEJzCDeZ9FKCkQ0n+mJmLG 43uOcXZXvNIKi1CF7o2qsXCASRUR/N8G7hJt22PCfeIVvgtLxQghHczpY4Nmb8FC806KAU 1yjRhaLK1zaw77b/LasHEEZUzfVoZ5gswyIjwj/W5iHtsuiw9ugHpZxkEBXD60SZpT3vzt rzikpTwuM5ru34+qYHajYwXkkCkrINaUEQptkFUY83sKXmLvGL/LOKnEqpxNJ1V9LoKIym R2WiOY5GYsiRSA5sk4zk0f60ytW3gkgoTyAH8SJcxrav0Fl3/iPLEBpF9wcPYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=YoeSUi2e; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697727015; 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=d6ArsICc3rbfBRvQyKQVXaQwtdD6+ARLmmMN2pOZQHg=; b=YZdhE8pp9oUebuYr7nuNpRhKO+kcjFNSKrc0GOs86diidl59h67E8vgBum2mMyowTg68Df GTTrJ/xvLUcz4sK/vi1F7QokARELR5mmGia8b6Y3rDbBVUX1VLWAUlADvPXE908uPAAEGL lD2ClxlcJLfI/AqSVxKB6D+GeW6SbSMLrisQsGAJtTxl5Bhn1+TnPKVEYCC3t+lYqQpYB0 hpG3KHI4qWEFFiAdkscSlYXeD+6SR6ptN3U73m2HkjRGYhjpMlps3kzWJeuB3rPToXZVJt tQ50e4b/EcmcpSnF8CRnE+a3bSvyPacOM/+ug5+RUAx+wwHG6acPzm1Qj2KWhw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtULB-00032q-OA; Thu, 19 Oct 2023 10:49:37 -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 1qtULA-0002sW-Cv for guix-patches@gnu.org; Thu, 19 Oct 2023 10:49:36 -0400 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 1qtULA-0005xI-2l; Thu, 19 Oct 2023 10:49:36 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtULZ-00044M-Il; Thu, 19 Oct 2023 10:50:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66640] [PATCH 0/2] Build profile hooks for the right system Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Thu, 19 Oct 2023 14:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66640 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66640@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Tobias Geerinckx-Rice , Josselin Poiret , 65225@debbugs.gnu.org, Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by submit@debbugs.gnu.org id=B.169772698015603 (code B ref -1); Thu, 19 Oct 2023 14:50:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Oct 2023 14:49:40 +0000 Received: from localhost ([127.0.0.1]:37425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtULE-00043b-AB for submit@debbugs.gnu.org; Thu, 19 Oct 2023 10:49:40 -0400 Received: from lists.gnu.org ([2001:470:142::17]:43126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtULA-00043A-3w for submit@debbugs.gnu.org; Thu, 19 Oct 2023 10:49:36 -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 1qtUKc-0008Px-PQ for guix-patches@gnu.org; Thu, 19 Oct 2023 10:49:03 -0400 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 1qtUKc-0004nh-C2; Thu, 19 Oct 2023 10:49:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=d6ArsICc3rbfBRvQyKQVXaQwtdD6+ARLmmMN2pOZQHg=; b=YoeSUi2eifXM0HprQG1x YBuRyb7kq7Ws7V54OAfSkMriNEb9FFBIgkx+UzGgZP+dT1BbZyqf8qBSAwwdBR/QLpwap9i7rBzkL meI3iifdnFAQzjI0ZEMGtrgXKXBExOg9t+cr8QFR87evd75iYaUGmobMflTYcQpfaDbF36uFjqjDl FTsf+7HncASm2BxY9bIztmbuaYpF14472Y/edXXtWsqj2S+Kq52LxjEcOEEOS8Z6tAD7CnlkgChoT /jJem48aOkKZBuiI8lmFOvEPeu6L5qaZjYcg5f5v1Yg+yRcOH9xGY8Srv5ysslDuNzNX8zQMDWm6m 5j/qLfftRaKrvA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Thu, 19 Oct 2023 16:48:46 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <87bkfcdlwi.fsf@gnu.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -4.36 X-Spam-Score: -4.36 X-Migadu-Queue-Id: 70A933E977 X-TUID: zeWbPi0VmfE2 Hello Guix, This fixes , ensuring that profile hooks are built for the right system. It does so by passing each profile hook the targeted system. Thoughts? Thanks, Ludo'. Ludovic Courtès (2): packages: Add ‘system’ parameter for ‘set-guile-for-build’. profiles: Hooks honor the #:system parameter of ‘profile-derivation’. gnu/bootloader.scm | 5 +++-- guix/channels.scm | 3 ++- guix/packages.scm | 7 ++++--- guix/profiles.scm | 49 ++++++++++++++++++++++++++++++---------------- tests/profiles.scm | 24 ++++++++++++++++++++++- 5 files changed, 64 insertions(+), 24 deletions(-) base-commit: 8d6b3dd0b863ccada887da8cd347727dd04cb456 -- 2.41.0