guix-commits
[Top][All Lists]
Advanced

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

01/02: emacs-build-system: Make the order of the phases more clear.


From: guix-commits
Subject: 01/02: emacs-build-system: Make the order of the phases more clear.
Date: Sat, 7 Dec 2019 22:37:12 -0500 (EST)

apteryx pushed a commit to branch master
in repository guix.

commit d0105e7f2902359de5e96d268a7e5850dae7dff7
Author: Maxim Cournoyer <address@hidden>
Date:   Sun Dec 8 07:18:46 2019 +0900

    emacs-build-system: Make the order of the phases more clear.
    
    * guix/build/emacs-build-system.scm (%standard-phases): Re-arrange to 
explicit
    the ordering of phases.
---
 guix/build/emacs-build-system.scm | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/guix/build/emacs-build-system.scm 
b/guix/build/emacs-build-system.scm
index e2b792d..41a4205 100644
--- a/guix/build/emacs-build-system.scm
+++ b/guix/build/emacs-build-system.scm
@@ -239,15 +239,14 @@ second hyphen.  This corresponds to 'name-version' as 
used in ELPA packages."
     (add-after 'unpack 'add-source-to-load-path add-source-to-load-path)
     (delete 'bootstrap)
     (delete 'configure)
-    ;; Move the build phase after install: the .el files are byte compiled
-    ;; directly in the store.
     (delete 'build)
     (replace 'check check)
     (replace 'install install)
-    (add-after 'install 'build build)
     (add-after 'install 'make-autoloads make-autoloads)
     (add-after 'make-autoloads 'patch-el-files patch-el-files)
-    (add-after 'make-autoloads 'move-doc move-doc)))
+    ;; The .el files are byte compiled directly in the store.
+    (add-after 'patch-el-files 'build build)
+    (add-after 'build 'move-doc move-doc)))
 
 (define* (emacs-build #:key inputs (phases %standard-phases)
                       #:allow-other-keys #:rest args)



reply via email to

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