summary refs log tree commit diff
diff options
context:
space:
mode:
authorMorgan Smith <Morgan.J.Smith@outlook.com>2021-12-02 12:38:02 -0500
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-03 21:14:25 +0100
commit170cb4c881557c14ddb6bf0d069991256545196c (patch)
tree415bd5922e4a384f278e678aa5bcc4c4fca0897d
parent85ed37c170756bac78e4fd7fd83adba7e9537030 (diff)
downloadguix-170cb4c881557c14ddb6bf0d069991256545196c.tar.gz
gnu: emacs-org: Preserve version information.
* gnu/packages/emacs-xyz.scm (emacs-org)[#:phases]: Prevent install phase from
deleting the version information.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/emacs-xyz.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 51626dd32d..751e220d9c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12321,6 +12321,10 @@ passive voice.")
                (("^lispdir.*")
                 (string-append "lispdir = "
                                (elpa-directory (assoc-ref outputs "out")))))
+             ;; The dependent targets for install perform cleanup that
+             ;; partially undoes our make phase
+             (substitute* "lisp/Makefile"
+               (("^install:.*") "install:\n"))
              (invoke "make" "install")))
          (add-after 'unpack 'fix-tests
            (lambda* (#:key inputs #:allow-other-keys)