gnu: emacs-org: Work around missing version number.
Partly fixes <https://bugs.gnu.org/45448>. * gnu/packages/emacs-xyz.scm (emacs-org)[arguments]: New 'fix-org-version phase.
This commit is contained in:
parent
1be0da2c7b
commit
cd11f6a2bd
1 changed files with 9 additions and 0 deletions
|
@ -10296,6 +10296,15 @@ (define-public emacs-org
|
|||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; FIXME: The elpa tarball upstream does not include the version
|
||||
;; number, remove this phase when this is fixed.
|
||||
;; https://lists.gnu.org/archive/html/emacs-orgmode/2020-12/msg00729.html
|
||||
(add-after 'unpack 'fix-org-version
|
||||
(lambda _
|
||||
(substitute* "org-version.el"
|
||||
(("org-release \"\"")
|
||||
(string-append "org-release \"" ,version "\"")))
|
||||
#t))
|
||||
(add-after 'install 'install-documentation
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((share (string-append (assoc-ref outputs "out") "/share"))
|
||||
|
|
Loading…
Reference in a new issue