From patchwork Thu Oct 19 14:48:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 1888 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DC8D227BBE9; Thu, 19 Oct 2023 15:50:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5A10527BBE2 for ; Thu, 19 Oct 2023 15:50:15 +0100 (BST) 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 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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