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.
This commit is contained in:
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

View file

@ -6212,12 +6212,11 @@ (define-public emacs-scel
(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")))