me
/
guix
Archived
1
0
Fork 0

gnu: emacs-scel: Adjust to changes in emacs-build-system.

* gnu/packages/emacs-xyz.scm (emacs-scel)[#:phases]<configure>: Use
elpa-directory.
<add-el-dir-to-emacs-load-path>: Adjust location.
master
Leo Prikler 2021-04-17 19:06:33 +02:00
parent c409cea2d8
commit 8e8a3b0eef
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 2 additions and 3 deletions

View File

@ -6212,12 +6212,11 @@ to a key in your preferred mode.")
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "el/CMakeLists.txt"
(("share/emacs/site-lisp/SuperCollider")
(string-append
"share/emacs/site-lisp")))
(elpa-directory (assoc-ref outputs "out"))))
((assoc-ref cmake:%standard-phases 'configure)
#:outputs outputs
#:configure-flags '("-DSC_EL_BYTECOMPILE=OFF"))))
(add-after 'add-source-to-load-path 'add-el-dir-to-emacs-load-path
(add-after 'expand-load-path 'add-el-dir-to-emacs-load-path
(lambda _
(setenv "EMACSLOADPATH"
(string-append (getcwd) "/el:" (getenv "EMACSLOADPATH")))