guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: gnu: emacs-guix: Adjust to changes in emacs-build-system.


From: guix-commits
Subject: 02/04: gnu: emacs-guix: Adjust to changes in emacs-build-system.
Date: Fri, 2 Apr 2021 06:02:20 -0400 (EDT)

leoprikler pushed a commit to branch wip-emacs
in repository guix.

commit 3bbc9c7d36e1423fad88c2aaf2ac919b2b3627bc
Author: Leo Prikler <leo.prikler@student.tugraz.at>
AuthorDate: Fri Apr 2 11:24:09 2021 +0200

    gnu: emacs-guix: Adjust to changes in emacs-build-system.
    
    * gnu/packages/emacs-xyz.scm (emacs-guix)[#:phases]: Add expand-load-path.
---
 gnu/packages/emacs-xyz.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8750eea..286675d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3010,6 +3010,20 @@ type, for example: packages, buffers, files, etc.")
                  (base32
                   "1pqw7zbgxzwpig4xr0izc3z8h80c72i6bl5yi12br0d7aq6dbkvj"))))
       (build-system gnu-build-system)
+      (arguments
+       `(#:modules ((guix build gnu-build-system)
+                    ((guix build emacs-build-system) #:prefix emacs:)
+                    (guix build utils))
+         #:imported-modules (,@%gnu-build-system-modules
+                           (guix build emacs-build-system)
+                           (guix build emacs-utils))
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'expand-load-path
+             (lambda _
+               ((assoc-ref emacs:%standard-phases 'expand-load-path)
+                #:prepend-source? #f)
+               #t)))))
       (native-inputs
        `(("autoconf" ,autoconf)
          ("automake" ,automake)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]