From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GB6gFb0kRmP4NwEAbAwnHQ (envelope-from ) for ; Wed, 12 Oct 2022 04:21:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EBLEFL0kRmPupwAAG6o9tA (envelope-from ) for ; Wed, 12 Oct 2022 04:21:49 +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 1D5BD39D01 for ; Wed, 12 Oct 2022 04:21:49 +0200 (CEST) Received: from localhost ([::1]:45674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiRNT-0008VW-R1 for larch@yhetil.org; Tue, 11 Oct 2022 22:21:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiRMl-0008V9-BW for guix-patches@gnu.org; Tue, 11 Oct 2022 22:21:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56171) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiRMl-0001RY-4F for guix-patches@gnu.org; Tue, 11 Oct 2022 22:21:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiRMk-00076h-J3 for guix-patches@gnu.org; Tue, 11 Oct 2022 22:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58461] [PATCH] gnu: emacs-eval-in-repl-erlang: Fix unbound variable. Resent-From: Brian Kubisiak Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 12 Oct 2022 02:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58461 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58461@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166554125727282 (code B ref -1); Wed, 12 Oct 2022 02:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Oct 2022 02:20:57 +0000 Received: from localhost ([127.0.0.1]:55249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiRMf-00075x-2P for submit@debbugs.gnu.org; Tue, 11 Oct 2022 22:20:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:37804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiRMa-00075n-Fk for submit@debbugs.gnu.org; Tue, 11 Oct 2022 22:20:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiRMa-0008Up-Bb for guix-patches@gnu.org; Tue, 11 Oct 2022 22:20:52 -0400 Received: from [75.171.8.149] (port=1451 helo=mail.kubisiak.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiRMY-0001Po-T6 for guix-patches@gnu.org; Tue, 11 Oct 2022 22:20:52 -0400 Received: from peregrine (108-237-41-25.lightspeed.sntcca.sbcglobal.net [108.237.41.25]) by mail.kubisiak.com with ESMTPSA (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256) ; Tue, 11 Oct 2022 21:20:39 -0500 Date: Tue, 11 Oct 2022 19:20:43 -0700 From: Brian Kubisiak Message-ID: <20221012022043.yclajntlesut5i42@peregrine> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Host-Lookup-Failed: Reverse DNS lookup failed for 75.171.8.149 (failed) Received-SPF: pass client-ip=75.171.8.149; envelope-from=brian@kubisiak.com; helo=mail.kubisiak.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665541309; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=uwxc7vS3szmWojVKkz2qJ4yDXqPM79MzooTSlQqPUus=; b=FGxtFUG8BhQPB8DrxTLT1bBrguwoX6RF2QWAOri0TZfiWWE5OeorqbswaKvlsmpYnwLEnZ bULsNoOUuciQELvhleUVYfrRzo86TvpYCwjk8tGGGLKF6HNzewwsvnGXi8mpfmzApcoJPH M65hC/nPpCBFpqt/OF62Li7wK2OH7TUUHFR6uO6fwfUkg+hVT0HCCXfbJ2c1bJSFgEfOtP EzzrS+8s6Of8sDAgXSsplJRh47lkoyUwtw2XvsEFqYtCfr0ZbQ3EiLCduqAQ+afSAyrPtY SC/CGMsqRp/k0q6C01GJMBWISCUmKFUEjTcXkUHroEkg6muC6R2sAIYzT9rvNQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665541309; a=rsa-sha256; cv=none; b=CAfbO6Tf3xz2nT+wAmT8Nk2YmWTKnAYGrRzX6KFQd5sMXySoBYnUOm/R4tOovuqTawOHMW 6qCzLEK2XQA/kZZeF4w5rrFezaM1GcEX0hBfchzlSpCn5Wbo5gVGVCkKY2HsvOhnle8m0s qQtymy4JiSM8eKSFsbRHBTZN8qNXa0dyeWbzs3rSdW73DxXHFaYdPl8HtsA2BrqYdu4gP7 WjBUVBwA5ESx6bIMaf41iHr0vTJ3neDihC5oQ73QjMVeFfaDYXWCp4VOOY9IdGwRoRBzCL SSd/gX19z4m0n5CnOANowwghX9Eu/6GpJKypWA/48c0RuQ7SXHrPbGyrODkcLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Spam-Score: -3.60 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Queue-Id: 1D5BD39D01 X-Spam-Score: -3.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: DyZtEZrz8dH4 Commit 0b120ad5f88d32e0c716b1442fe1ea3c562b5586 introduced a circular dependency where (gnu packages erlang) would transitively load (gnu packages emacs-xyz) before the emacs-erlang package was defined. This would result in "error: emacs-erlang: unbound variable" in the definition of emacs-eval-in-repl-erlang when trying to use (gnu packages erlang) from the repl. This commit fixes the unbound variable by adding a delay to the inputs in make-emacs-eval-in-repl. * gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-erlang): Add delay. --- gnu/packages/emacs-xyz.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 2ac29e8225..1b0f07731d 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -27911,7 +27911,7 @@ (define-public emacs-eval-in-repl-elm (make-emacs-eval-in-repl "elm" #:inputs (list emacs-elm-mode))) (define-public emacs-eval-in-repl-erlang - (make-emacs-eval-in-repl "erlang" #:inputs (list emacs-erlang))) + (make-emacs-eval-in-repl "erlang" #:inputs (delay (list emacs-erlang)))) (define-public emacs-eval-in-repl-geiser (make-emacs-eval-in-repl "geiser" #:language "Scheme" -- 2.37.3