From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id AOpDGJdzQmY6ZQAAe85BDQ:P1 (envelope-from ) for ; Mon, 13 May 2024 22:09:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id AOpDGJdzQmY6ZQAAe85BDQ (envelope-from ) for ; Mon, 13 May 2024 22:09:59 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=PWAhFwyz; 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=1715630999; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=e3J/lM7prB3MIu8Ixg3uXxBUOdkLtWQ3DSupBHJQ8nc=; b=RiO1bk8XkTrKwEytAsQyjNI5KMsXCj+umj/xpEOIILQBGN15A+prNMuheOFoup3s+W75BC UdjDAuGWveQ0TbNWTbIynemLsKkaqKQ9Q2WgsCzf87x9XGUO/+X/SFFlu/J6u8TFBHy6J9 RukyhX4+rlYQUFmphkFZYbaBoswmkR3lV/rW+jVCWOdFIkEPDd2FEkIif9fGMmegpDP83t KMOeOt9+fsmO595inm5YE2BGAk6diQ7Tss4YphZjJctMl5LPPtbQS9BlyfIly+baop9A2P g6EldJgRwWZYuDIFbMFDNvU81FbVc9M4g+M3gICe9TFuBX46U9wu2j8jspoOZg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=PWAhFwyz; 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=1715630999; a=rsa-sha256; cv=none; b=I9vTIR8NsBdTl04TRoaJLXzM9p0AICIpSxppYyKrmNPzDasIzaX6UkO0qgBSfg9KwXi/Mw sGl8OPMFnmgzGZ279mtZA5ERP+atKuHjMOPFflgCCeNieMDLPo9Smh1bksoE+tqjjxMmsn Vqr5vizrAB2bOi+Zix/xx74bjA4849Sj2Ri+8AmSYyQE8b1d+3J2KOOHTZ5TxQs+haUfWz ckrDzwyfFS+I0xsaFk7XHUobJ0+RmOK02uxBDH/om+8I+9LcXFhknsfwYOkrSCJodkqn9O Moq+wB0dR//HLreOfpEvY/p+PhY8QgBrq0KuHPETIwiWVDrbJfWhywWx2swhUQ== 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 4C2376DA35 for ; Mon, 13 May 2024 22:09:59 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6byy-0004If-Vh; Mon, 13 May 2024 16:09:13 -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 1s6bys-0004Dc-Go for guix-patches@gnu.org; Mon, 13 May 2024 16:09:07 -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 1s6bys-0007oJ-7e for guix-patches@gnu.org; Mon, 13 May 2024 16:09:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6byr-0000Id-Ix; Mon, 13 May 2024 16:09:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70923] [PATCH 08/13] import: elpa: Use maybe-propagated-inputs procedure. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Mon, 13 May 2024 20:09:05 +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 Cc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 70923-submit@debbugs.gnu.org id=B70923.17156309301055 (code B ref 70923); Mon, 13 May 2024 20:09:05 +0000 Received: (at 70923) by debbugs.gnu.org; 13 May 2024 20:08:50 +0000 Received: from localhost ([127.0.0.1]:34606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6byb-0000Gr-U6 for submit@debbugs.gnu.org; Mon, 13 May 2024 16:08:50 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:47157 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6byT-0000Ek-2B for 70923@debbugs.gnu.org; Mon, 13 May 2024 16:08:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1715630908; 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=e3J/lM7prB3MIu8Ixg3uXxBUOdkLtWQ3DSupBHJQ8nc=; b=PWAhFwyzQ9W03STALCLgsGS+stGXCA7/Ck/uM9axiNCtU6eRobE4nxyBc73pMeK9A42DRZ zqXwUZCQo4eiLI42gHOK8eRX/IbpgEWmtOoDbbjQ3gTq0GhbZHA+oJgXWr0kYlQczM4Dxk ORRljpuuaAY9h1t2QR9+1tGr8QmHIpOsWbrTA2zFXFICGIBukiEqjnjHjDr3PQvLyCTRkR NZ/0Dz/RvLgXvcj7mJ/fOGKBVjiqQ/qVwEPNegjsGMPDBCI4RtjmYHkqs9dqWvYtS6jVxa YkoltXk1h9TD+kUc+1BqgBMvYTjE5YTZ7MaGIcvHlP+NB8YbU94cha5Qkf8aPA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 22a02ee3 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <70923@debbugs.gnu.org>; Mon, 13 May 2024 20:08:28 +0000 (UTC) Date: Mon, 13 May 2024 22:08:05 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: -4.87 X-Migadu-Queue-Id: 4C2376DA35 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.87 X-TUID: sTbGEuP59WUj * 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 d1855b3698..0072500155 100644 --- a/guix/import/elpa.scm +++ b/guix/import/elpa.scm @@ -358,13 +358,6 @@ (define* (elpa-package->sexp pkg #:optional license repo) (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)) @@ -385,7 +378,7 @@ (define* (elpa-package->sexp pkg #:optional license repo) (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.41.0