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>
This commit is contained in:
Morgan Smith 2021-12-02 12:38:02 -05:00 committed by Nicolas Goaziou
parent 85ed37c170
commit 170cb4c881
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -12321,6 +12321,10 @@ (define-public emacs-org
(("^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)