mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
c409cea2d8
commit
8e8a3b0eef
1 changed files with 2 additions and 3 deletions
|
@ -6212,12 +6212,11 @@ to a key in your preferred mode.")
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(substitute* "el/CMakeLists.txt"
|
(substitute* "el/CMakeLists.txt"
|
||||||
(("share/emacs/site-lisp/SuperCollider")
|
(("share/emacs/site-lisp/SuperCollider")
|
||||||
(string-append
|
(elpa-directory (assoc-ref outputs "out"))))
|
||||||
"share/emacs/site-lisp")))
|
|
||||||
((assoc-ref cmake:%standard-phases 'configure)
|
((assoc-ref cmake:%standard-phases 'configure)
|
||||||
#:outputs outputs
|
#:outputs outputs
|
||||||
#:configure-flags '("-DSC_EL_BYTECOMPILE=OFF"))))
|
#: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 _
|
(lambda _
|
||||||
(setenv "EMACSLOADPATH"
|
(setenv "EMACSLOADPATH"
|
||||||
(string-append (getcwd) "/el:" (getenv "EMACSLOADPATH")))
|
(string-append (getcwd) "/el:" (getenv "EMACSLOADPATH")))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue