From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2F1YDcW7EmUyRgAAauVa8A:P1 (envelope-from ) for ; Tue, 26 Sep 2023 13:08:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2F1YDcW7EmUyRgAAauVa8A (envelope-from ) for ; Tue, 26 Sep 2023 13:08:53 +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 01B7062882 for ; Tue, 26 Sep 2023 13:08:53 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=landt.email header.s=MBO0001 header.b=PZa+I4nO; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=landt.email ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695726533; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=pETVlmfe7z5QvOPDXCp7QYUshH75R/0bftoqtKifohE=; b=WdQ843FCSQv0co6ybyauHeliCOhZE2yEoyD4XsqQgMzjjkQTQ1iFMPWlTO4P7I43TdLqFq DWYM2Uw/8ZBa8BaJTuGLhl/7kQreZYwbA7HnN9s+olIf44L+vsSygT0W3VceLgDBbNuuri 2oU1mYyGsXgxvdx5N/KBe76eZamBlmiDJlaaubKj9zvLozdy2r/P4GHDAtGqh5d9nXBBNi wOH5Las2GCp1UKDU92a2UGRuURd9vcLTJyhakruvB1si+B7PYWa54g5JQatECf2a3+5m7S x3nQf+UdArRHRRONu7lLbs/MMdg2HHQfYFiFi60Uv3LOjgNQBezYWZ2n/ZK/wg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695726533; a=rsa-sha256; cv=none; b=X9hzKqZz+xHYuQL9vZLEAs1RLb8orjM4G+lBYU/ntYNCxMndBaQ6bSJ2qDcbjlSXD/LMnm Fqo00R73guRu4zUka9+NO2f75DqGYaDPOucmpGZkpq43WN4oSQSRU+hnRXkwXklUj/bg4g MsB4+FsCXBoG6wM9UnCoXVObzgVGCZp4s2AtvrxhwiFKIln7uynyXf0ozjr3sOvv20JMO0 y3RoOzt09Tf+tmZnChteEGm4diuyeaQI1IXYviB0ea2JLn6761FtOol0smMmEhLEIGmyND 16HddqXgSjRr7/FS7tGGeslJNbJ/RyKb7HvtPPnM/wiVF2M3YBIuw18dDMw/dQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=landt.email header.s=MBO0001 header.b=PZa+I4nO; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=landt.email Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ql5vR-0004X8-V7; Tue, 26 Sep 2023 07:08:21 -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 1ql5vQ-0004VW-DX for help-guix@gnu.org; Tue, 26 Sep 2023 07:08:20 -0400 Received: from mout-p-201.mailbox.org ([2001:67c:2050:0:465::201]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1ql5vO-00006i-9g for help-guix@gnu.org; Tue, 26 Sep 2023 07:08:20 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4Rvxml0Y0gz9sqm for ; Tue, 26 Sep 2023 13:08:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landt.email; s=MBO0001; t=1695726487; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pETVlmfe7z5QvOPDXCp7QYUshH75R/0bftoqtKifohE=; b=PZa+I4nOvf+fOT5tKUrGlNQ9iXDrP0hjeLopZexZP2MetD1IeVENP+vz/7d8spBdVTWkx4 FcNNCMbLM8uxjtk5RwoBzCTKTmq6Jbhg5BPwB2WrmVjjFTMo50EFo2ww6jFrptqQj0vdqa rrUsrg2zjrmhVskxZR2lbIRA5tkbuAbWLbAfQGqsy1p+26xCHjCsUN+pbk+xiLJyrOnQdd y2ul3XmQwyjoga+xLmFKwLCc3Qw2cm/u0oYUm854CS7noHEddpw4Kd3pw4+ZIX3HB4Uu+U Tzt5ET9OR4tOT4y6LD2DfIoEk1cyKC49sFpn5JvAoq7Ew4fU1Gx/QI7mtY4Hxw== Date: Tue, 26 Sep 2023 13:08:06 +0200 (CEST) From: nils@landt.email To: "help-guix@gnu.org" Message-ID: <2042058673.297636.1695726486678@office.mailbox.org> Subject: Recursive substitute-keyword-arguments / setting default on build system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal Received-SPF: pass client-ip=2001:67c:2050:0:465::201; envelope-from=nils@landt.email; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -7.57 X-Migadu-Spam-Score: -7.57 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Queue-Id: 01B7062882 X-TUID: iAyHWdBZE7cL Hello, I use a slightly customized emacs package, and want to use it as the package that is used in emacs-build-system for the emacs plugins I'm using. The default emacs gets garbage collected and takes quite a while to reinstall, I would like to avoid that. Also, it seems cleaner to build the plugins with the exact version that they will be used with. Here's what I have: (define emacs-package ((const ((options->transformation '((with-configure-flag . "emacs=--program-transform-name='s/^ctags$/ctags.emacs/'"))) emacs)))) (define (set-build-system-emacs plugin-package) (package (inherit plugin-package) (arguments (substitute-keyword-arguments (package-arguments plugin-package) ((#:emacs emacs) `,emacs-package))))) (map set-build-system-emacs package-list) >From what I can tell this does work for the packages in package-list, but not for any inputs to those packages. That makes total sense to me, but I don't know how to solve it. Any pointers? Or is it possible to set the default package for a build system, removing the need for this mapping altogether? Nils