From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id COYiEqDE2GY0CwAAqHPOHw:P1 (envelope-from ) for ; Wed, 04 Sep 2024 20:35:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id COYiEqDE2GY0CwAAqHPOHw (envelope-from ) for ; Wed, 04 Sep 2024 22:35:44 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="KiJJRK8/"; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b="D9/Ire8Q"; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725482144; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: 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=2DBS+ts1h90L6KFd2hnWGrJSPm7juhhDnA43G4Lqm6Q=; b=ti2ApJGb8t9mD87lrJfIIabVaJkTZcwOLJba4TjAXnJI5xfaXMlMT3+apmzmNEl66n3rL8 TP+1PI21V8GV7Day2rT2s7ulc29TMuvdNWdDGCh0pIR1hVpa+ieVzGxIerEPFy5dpnn2Ow qkNk9Myhh+V53cn27kXYuepOr7QuSgS7My3YszCbCw2B+fm5sEXyYH++jrsJtJjM2EN/Si 7eJMx/xq5y13qW0VDZBNogwkDbaOYYd68fQWjPTDcET3qdYh++MI24++itgVxX5PPBFnJi +IZNhtNZ19KW2CP4KIKSywAx4GuwuLjp5BN4g+6hoawY4NV17363FjkbnJLcsw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="KiJJRK8/"; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b="D9/Ire8Q"; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725482144; a=rsa-sha256; cv=none; b=XzpNW6Y6SAqaIo+eAQj7AWL3wAxZ0/GSonyEtiPDvbcD+8f8l7q4e/bxgeV5jfOAltqC7E K6xPMoxf3VsdkBXIdmss3Rk2w3p3X3sO5rgOvTMM2hu2Y5CSBREQxlc38XN7rRqs07zCRe ratwuphnCeg7rfNSqqdKJz0kYuDGGSc6WRdQLyLg05z+N6h0lg/ioSkb6mv56kU15As1ZG 5+OfbF95iEuc+lkSV6XchCUBAFD6tVCpNoL3MYs75gyhOaJ/S6MKY1ntZDLH9EawtODv5c dzcPahC29ZaW2Fe/Zi9n9UzV2Rtg1I+3IspwUJQyOAZSVoLAPy3d3tofsjULFg== 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 30B28697E1 for ; Wed, 4 Sep 2024 22:35:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1slwiq-0003GB-1K; Wed, 04 Sep 2024 16:35:24 -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 1slwiT-00038I-2Y for guix-patches@gnu.org; Wed, 04 Sep 2024 16:35:02 -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 1slwiS-0002F3-Ly for guix-patches@gnu.org; Wed, 04 Sep 2024 16:35:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=2DBS+ts1h90L6KFd2hnWGrJSPm7juhhDnA43G4Lqm6Q=; b=KiJJRK8/MZceaHf9DHM9Wcy9LmGXJRqEElPkx7lwH2gt5x9GQJZiZiJSyODzjvQMj40rAfEZAz2TFEb8c0ud/DdoQLDyBHAtrscj369pJh4h7ZC2HlaAvHuH2gV0fyaLp8pewI0q/Mnz4Ej4lu1kKxBY/t8nIH/1AtYAB8F2Worw1tIw8XmADP2WTwaqyy/IKzqEb/ZhaSo7H331tVjxWNjJrDpoLhyElm8w+58z/ZT9efMrvOhdmG4r6enZtQ3uPhosnrBUSRdH2CptafR37MQ0PHmhl3/E0IbaOaveEya61qGJFIcyVZn18BTz5kjCsId0uQakDJ321lvxQ5MM3g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1slwjU-0005MG-LR for guix-patches@gnu.org; Wed, 04 Sep 2024 16:36:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70923] [PATCH v2 07/12] import: elpa: Use maybe-propagated-inputse. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 04 Sep 2024 20:36:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70923 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70923@debbugs.gnu.org Received: via spool by 70923-submit@debbugs.gnu.org id=B70923.172548211320426 (code B ref 70923); Wed, 04 Sep 2024 20:36:04 +0000 Received: (at 70923) by debbugs.gnu.org; 4 Sep 2024 20:35:13 +0000 Received: from localhost ([127.0.0.1]:35469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slwif-0005JI-4K for submit@debbugs.gnu.org; Wed, 04 Sep 2024 16:35:13 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:45431 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slwia-0005HS-UT for 70923@debbugs.gnu.org; Wed, 04 Sep 2024 16:35:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1725482030; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2DBS+ts1h90L6KFd2hnWGrJSPm7juhhDnA43G4Lqm6Q=; b=D9/Ire8Q0YuwmmB7zGfCZJka2t0Etwo/n/yulSMsvYSQp+XjaBkfXFRch3+fG9oa9QM3LP oSY1blIfc4iJAz4b287Xh1VmAPv0Gp193+vnWtRnsRBqSmRpNv18AL4HphHPs7jzQv33GY DpF+iwGLWl8ODsvpcx9VjTcNskoePALQ+ChrrGUAhCucu3xt6qVM0xWTYQ11pR9JbbYl/d atcooGz6ARamYG0j6yU3lSsk7mLUWPTutNkNhKMzQmeLzx105zQ25qyH14ckBDmmV5Yf+y hvYgBnTaxzp5SOCt2D0oSSHTTasKP5IEJFtT7IreIBj+o57QBRhNsK8CM32N3w== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 7e41babf (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <70923@debbugs.gnu.org>; Wed, 4 Sep 2024 20:33:50 +0000 (UTC) Date: Wed, 4 Sep 2024 22:33:01 +0200 Message-ID: <20240904203309.23715-7-herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240904203309.23715-1-herman@rimm.ee> References: <20240904203309.23715-1-herman@rimm.ee> MIME-Version: 1.0 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via 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-Spam-Score: -6.48 X-Migadu-Queue-Id: 30B28697E1 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.48 X-TUID: eVV9fs4EZhh7 * guix/import/elpa.scm (maybe-inputs): Delete procedure. (elpa-package->sexp): Use maybe-propagated-inputs procedure. Change-Id: I9b40e9d387311f5dbbb079938733bf945a1a6ee6 --- guix/import/elpa.scm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm index 46b6dc98a2..9ade189a8a 100644 --- a/guix/import/elpa.scm +++ b/guix/import/elpa.scm @@ -359,13 +359,6 @@ (define dependencies (map (compose string->symbol elpa-name->package-name) dependencies-names)) - (define (maybe-inputs input-type inputs) - (match inputs - (() - '()) - ((inputs ...) - (list (list input-type `(list ,@inputs)))))) - (define melpa-source (melpa-recipe->origin melpa-recipe)) @@ -386,7 +379,7 @@ (define melpa-source (file-hash* tarball #:recursive? #false)) "failed to download package"))))))) (build-system emacs-build-system) - ,@(maybe-inputs 'propagated-inputs dependencies) + ,@(maybe-propagated-inputs dependencies) ,@(if melpa-source (melpa-recipe->maybe-arguments melpa-recipe) '()) -- 2.45.2