From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KEaiJp8fe2BfOgEAgWs5BA (envelope-from ) for ; Sat, 17 Apr 2021 19:49:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0Lz7IZ8fe2CdcAAAbx9fmQ (envelope-from ) for ; Sat, 17 Apr 2021 17:49:19 +0000 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 26F6CCE90 for ; Sat, 17 Apr 2021 19:49:18 +0200 (CEST) Received: from localhost ([::1]:58344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXoSX-0002D6-Ve for larch@yhetil.org; Sat, 17 Apr 2021 13:10:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXoQV-0008G0-MR for guix-patches@gnu.org; Sat, 17 Apr 2021 13:08:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32835) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lXoQT-0000H9-Sg for guix-patches@gnu.org; Sat, 17 Apr 2021 13:08:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lXoQT-0005cx-Lp for guix-patches@gnu.org; Sat, 17 Apr 2021 13:08:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47661] [PATCH v2 14/33] gnu: emacs-sly-stepper: Adjust to changes in emacs-build-system. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Apr 2021 17:08:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47661 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47661@debbugs.gnu.org Received: via spool by 47661-submit@debbugs.gnu.org id=B47661.161867925921317 (code B ref 47661); Sat, 17 Apr 2021 17:08:09 +0000 Received: (at 47661) by debbugs.gnu.org; 17 Apr 2021 17:07:39 +0000 Received: from localhost ([127.0.0.1]:44325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXoPz-0005Xe-4r for submit@debbugs.gnu.org; Sat, 17 Apr 2021 13:07:39 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:64488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXoPu-0005XG-GI for 47661@debbugs.gnu.org; Sat, 17 Apr 2021 13:07:34 -0400 Received: from localhost.localdomain (194-96-9-9.adsl.highway.telekom.at [194.96.9.9]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4FMzz822KBz1LBSW for <47661@debbugs.gnu.org>; Sat, 17 Apr 2021 19:07:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4FMzz822KBz1LBSW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1618679252; bh=UVCK6qSd33NJjYPt04dMAZlqBN+Xk/kwYMqFxqrLJvs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MJbCtdnfu4KQpZFZxVDee6zwbyKU69FJ63yToC1QxBpOM0XYPAW6muIPkolpPb8zV 5crGfI3SsWDbjjvWRU1mMWHdXa3+H2ZD7bc1RsJ/ZmkmZkObYyG3TZo02GW2c0PCKq aWTnvj1X5DaZTEacPCaNQjXOQoHVELKxPK8j571A= From: Leo Prikler Date: Sat, 17 Apr 2021 19:06:29 +0200 Message-Id: <20210417170648.3810-14-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210417170648.3810-1-leo.prikler@student.tugraz.at> References: <20210417170648.3810-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618681759; h=from:from:sender:sender: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=UVCK6qSd33NJjYPt04dMAZlqBN+Xk/kwYMqFxqrLJvs=; b=MeqGWbiR1fg3VuSNU1LKO4jrdbIv4C1tDVDk1Ik9O0ZP7S4JzRTYhWCGiW0NjTT+pUNi4k 1Xw0PS6YhZ1/jul8TGakvT0L4/SeVLvUfBTotbtW80eJTxzMODTCYkGJ5EJ3g9IXXtmQZS IzMqYP6zGZy9B49TEqviofQmMPGdvWofnnyV5GooecKeCDAnyx/KDehiiL9nxd1pTJjdBM SfHunAkw7UGhF8rIRDPgZ6ApVyuy6Y1llQuuaO+uRVHA30nYXPJIbJ3AM9xWz1s3y7LBW7 YLzFkb7edlwNWtD9NYqYWwePS/tvQrejyLDslbLnBrXSOLAQ2f3bh26rK5aHww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618681759; a=rsa-sha256; cv=none; b=LcEhOqiS/7tGflRHdYakJGRbkFbjRuiSGzlHrd7wjS8M8XItG+AD0tt6+yHMbFIh1mZ03f d+jFbnMijEmZueLk/AKt+v3ichHuULWIS33xwEOmK8L3p1h3OuC7f0zbced01fLSEYgLPq 61se6E76nIBTKlBkfb0o3VvsgwTAZNUtQKY8TVEBL+jg4ZGAbt2ZnkVzqlCpYFg4oWc8be /1B6AG0Wh7Un01c+0ijGSB8hCRrCfNC8AW6VzXtVTgmRIFipAKUxeiF0C2ABW6yksOcamx WAa4UfJrNAWhCh8at7g8Jz+FiRMm8fP/DrG/zO8kBotuokBuSvE/daA8hSTO5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=MJbCtdnf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 5.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=MJbCtdnf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 26F6CCE90 X-Spam-Score: 5.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: OBSV5/QfXn6b * gnu/packages/emacs-xyz.scm (emacs-sly-stepper)[#:phases]: : Rename to... : ... this. Use find-files to find contrib directory. : Find slynk-stepper.lisp in elpa-directory. --- gnu/packages/emacs-xyz.scm | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index ed22832fcb..9ffae08600 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -10408,24 +10408,26 @@ inside the source file.") (propagated-inputs `(("emacs-sly" ,emacs-sly))) (arguments - '(#:include (cons* "\\.lisp$" "\\.asd$" %default-include) + `(#:include (cons* "\\.lisp$" "\\.asd$" %default-include) #:phases (modify-phases %standard-phases ;; The package provides autoloads. (delete 'make-autoloads) (delete 'enable-autoloads-compilation) - (add-after 'add-source-to-load-path 'add-contrib-to-emacs-load-path + (add-after 'expand-load-path 'expand-sly-contrib (lambda* (#:key inputs #:allow-other-keys) - (let ((sly (assoc-ref inputs "emacs-sly"))) + (let* ((sly (assoc-ref inputs "emacs-sly")) + (contrib (find-files sly "^contrib$" #:directories? #t))) (setenv "EMACSLOADPATH" - (string-append sly "/share/emacs/site-lisp/contrib:" - (getenv "EMACSLOADPATH")))) - #t)) + (string-append (string-join contrib ":") + ":" + (getenv "EMACSLOADPATH"))) + #t))) (add-after 'install 'find-agnostic-lizard (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) - (file (string-append out "/share/emacs/site-lisp/" - "slynk-stepper.lisp")) + (file (string-append (elpa-directory out) + "/slynk-stepper.lisp")) (asd (string-append (assoc-ref inputs "cl-agnostic-lizard") "/share/common-lisp/systems/agnostic-lizard.asd"))) -- 2.31.1