Tweak Org package recipe

This commit is contained in:
TEC 2022-08-14 20:37:31 +08:00
parent 5490df9a96
commit bbf5aefd5e
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
1 changed files with 1 additions and 1 deletions

View File

@ -5590,7 +5590,7 @@ correct package statement needed.
(string= "tec@git.savannah.gnu.org:/srv/git/emacs/org-mode.git\n" (shell-command-to-string "git remote get-url origin")))))
(recipe-common '(:files ("*.el" "lisp/*.el" "etc")
:pre-build
(with-temp-file (doom-path (straight--repos-dir "org-mode") "org-version.el")
(with-temp-file "org-version.el"
(insert "(fset 'org-release (lambda () \"9.5\"))\n"
(format "(fset 'org-git-version (lambda () \"%s\"))\n"
(substring (shell-command-to-string "git rev-parse --short HEAD") 0 -1))