From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SMWEOwhRLWEd7AAAgWs5BA (envelope-from ) for ; Mon, 30 Aug 2021 23:43:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QGw1NwhRLWFpBwAA1q6Kng (envelope-from ) for ; Mon, 30 Aug 2021 21:43:36 +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 651F056AF for ; Mon, 30 Aug 2021 23:43:36 +0200 (CEST) Received: from localhost ([::1]:34900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKp43-00068Y-FI for larch@yhetil.org; Mon, 30 Aug 2021 17:43:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKp3W-000667-Vb for guix-patches@gnu.org; Mon, 30 Aug 2021 17:43:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48989) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKp3W-00050P-Mh for guix-patches@gnu.org; Mon, 30 Aug 2021 17:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKp3W-0000Jo-H1 for guix-patches@gnu.org; Mon, 30 Aug 2021 17:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50287] [PATCH] emacs-org-roam: Add new phase after unpack. Resent-From: Alexandr Vityazev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Aug 2021 21:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50287 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50287@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16303597561152 (code B ref -1); Mon, 30 Aug 2021 21:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Aug 2021 21:42:36 +0000 Received: from localhost ([127.0.0.1]:60532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKp32-0000IR-Le for submit@debbugs.gnu.org; Mon, 30 Aug 2021 17:42:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:37664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKp2x-0000IB-Ml for submit@debbugs.gnu.org; Mon, 30 Aug 2021 17:42:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKp2x-0005ep-4V for guix-patches@gnu.org; Mon, 30 Aug 2021 17:42:27 -0400 Received: from mout02.posteo.de ([185.67.36.66]:47449) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKp2v-0004bC-29 for guix-patches@gnu.org; Mon, 30 Aug 2021 17:42:26 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 26363240103 for ; Mon, 30 Aug 2021 23:42:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1630359741; bh=U1rWaulcV5PusK/rnhcylk2LYVsbTcVBjvmZB3kXlT8=; h=From:To:Subject:Date:From; b=kIzc8+wUsn2JeNHz2WqFTFWzOYPg3DtrC6EeRRYHdtPct0fG9N+zkV753NWY7cy9H BaKxENa98uhL+5wGfcZo7qSLZOOgAV1/Ed86JchyC/sBeTcjr6Jv+PCiEFoMGHnHYi 7yI2yz/2GNUILoAmK89Kk8vasHSmgyn79gef+lvpjwWxs13P53GWsHmpeEHy+umzvL +pFkvWWq3hxISde827A0lMOxtNvSw9IJlJNPcOvqFQ3WKIo/zKDRswOCSBiOVKRLkG HQoVu0phkd95mvAmExysKZ9p+vMO8K5ChR4DILSNw3Cy+uERGk5lPcZhdF68iIwllM ujW6NwMLqgo1Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Gz3gw14N7z9rxN for ; Mon, 30 Aug 2021 23:42:19 +0200 (CEST) From: Alexandr Vityazev Date: Mon, 30 Aug 2021 21:42:43 +0000 Message-ID: <87bl5e4njg.fsf@posteo.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=avityazev@posteo.org; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630359816; 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:dkim-signature; bh=YLzixDAhlLrl+Bdc9msVNB9BFzDOICG34zvl9G/3Lgc=; b=AA1XD+S0TuUYgryN7P48FyydJo9JG9PQyyJr6to9eyU+CYYCJthPjQJk4bl4IJRxi9yD0s bxVxxDe4hI6exCjr+Z1AAJoFvIUkJGkTnulrlVxfKsyT8BW0Z/FnpnFxIR1sDQnxxLFBcF cYCfO9IP0KcLQDXbLdYiEEYk0Ov6F9ScNMNMmuB8OmIiMqV9/B8tyQ9SIFwtOu+ocTsNcm DuZRIGl2TTIxdMKTa49P1/r1RMLQHdLBDgcUil3EM8VAwVzEQOxnlXSbHNP5du8y9eGr4j mVcHmL3glVBdqUhjEj1qpn52XVkxDagBSu6+jDAml729WHMf1yeMWJakGuGcQA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630359816; a=rsa-sha256; cv=none; b=b+4mP3IJGcjirmrZzmW4l2cOEn68HN2VFTvBGxYiCA7+eXB1QohFBaWI0KFSqvcRsrIwpE 9pFjpCxTFlNTahP3SvWHPe5QD3gCbIfHFRuqYzGiD/gLATibj1RCexskSAcVy8sP0bW8sL YUmEGPTGGZqpL7bSWTxVDpwX33+Ls/BJbo3j1h4DtLYUGVZdnuQtnq8Mj60wqahOjgKqK2 pEJm44PsCCU7AL6SJvPVuG8vRTIqO6zv0AeMJkgjvXJgGm7zJ3pOXJfJ6UEH8jJeNK3Z5Y YV+HDH9g9IU1MbB0MR0113NQIhgGkDR82jXxcEq1MAzo1U6KbOOLuJAPga5jtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=kIzc8+wU; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.org (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: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=kIzc8+wU; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.org (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: 651F056AF X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: DqKWIGdPscTb * gnu/packages/emacs-xyz.scm (emacs-org-roam)[arguments]: After the unpack phase add a move-source-files phase to include the org-roam extensions to the package. --- gnu/packages/emacs-xyz.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 70c4c30bc2..679636c123 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -28227,6 +28227,15 @@ snippets for Emacs.") (arguments `(#:phases (modify-phases %standard-phases + ;; Move the extensions source files to the top level, which is included in + ;; the EMACSLOADPATH. + (add-after 'unpack 'move-source-files + (lambda _ + (let ((el-files (find-files "./extensions" ".*\\.el$"))) + (for-each (lambda (f) + (rename-file f (basename f))) + el-files)) + #t)) (add-after 'install 'install-image (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) -- 2.33.0 -- Alexandr Vityazev