unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 67260@debbugs.gnu.org
Cc: Mekeor Melire <mekeor@posteo.de>,
	Josselin Poiret <dev@jpoiret.xyz>,
	cox.katherine.e+guix@gmail.com, andrew@trop.in
Subject: [bug#67260] [PATCH v4 4/5] gnu: emacs-org: Fix native builds.
Date: Fri, 8 Dec 2023 12:16:55 +0100	[thread overview]
Message-ID: <31685a8dadad82f6b7a217149599f639fff0d99b.1702036387.git.liliana.prikler@gmail.com> (raw)
In-Reply-To: <84c0bc8c4e65af2241b9dd15f494fdc7eedd83d1.1702036387.git.liliana.prikler@gmail.com>

* gnu/packages/emacs-xyz.scm (emacs-org)[#:phases]: Wrap ‘build’ in a
directory excursion to the actual lisp directory.

Change-Id: Ifa10f9e91fe21cd4c34da11b68ddb77a03d847ca
---
 gnu/packages/emacs-xyz.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9bb07663ee..80b3136284 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16461,6 +16461,10 @@ (define-public emacs-org
               (substitute* "testing/lisp/test-org.el"
                 (("test-org/org-(encode-time|time-string-to-time) .*" all)
                  (string-append all "  (skip-unless nil)\n")))))
+          (replace 'build
+            (lambda args
+              (with-directory-excursion "lisp"
+                (apply (assoc-ref %standard-phases 'build) args))))
           (replace 'install
             (lambda _
               (let ((elpa (elpa-directory #$output))
-- 
2.41.0





       reply	other threads:[~2023-12-08 11:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <84c0bc8c4e65af2241b9dd15f494fdc7eedd83d1.1702036387.git.liliana.prikler@gmail.com>
2023-12-08 11:16 ` Liliana Marie Prikler [this message]
2023-12-08 11:45 ` [bug#67260] [PATCH v4 5/5] gnu: emacs-magit: Fix native builds Liliana Marie Prikler
2023-12-27 11:00 ` [bug#67260] [PATCH v4 1/5] gnu: emacs: Build trampolines Andrew Tropin via Guix-patches via
2023-12-27 16:40   ` Liliana Marie Prikler
2023-12-27 18:27     ` Andrew Tropin via Guix-patches via
2023-12-27 20:03       ` Liliana Marie Prikler
2023-12-27 20:44         ` Liliana Marie Prikler
2023-12-28  5:56         ` Andrew Tropin via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=31685a8dadad82f6b7a217149599f639fff0d99b.1702036387.git.liliana.prikler@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=67260@debbugs.gnu.org \
    --cc=andrew@trop.in \
    --cc=cox.katherine.e+guix@gmail.com \
    --cc=dev@jpoiret.xyz \
    --cc=mekeor@posteo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).