mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-guix: Adjust to both 2.2 and 2.0.
* gnu/packages/emacs.scm (emacs-guix)[arguments]: In #:configure-flags, use 'find-files' to determine the --with-guix-site-dir argument.
This commit is contained in:
parent
ab2419e56a
commit
ed9fb46b16
1 changed files with 7 additions and 1 deletions
|
@ -1406,7 +1406,13 @@ type, for example: packages, buffers, files, etc.")
|
||||||
(magit-popup (assoc-ref %build-inputs "magit-popup"))
|
(magit-popup (assoc-ref %build-inputs "magit-popup"))
|
||||||
(site-lisp "/share/emacs/site-lisp"))
|
(site-lisp "/share/emacs/site-lisp"))
|
||||||
(list (string-append "--with-guix-site-dir="
|
(list (string-append "--with-guix-site-dir="
|
||||||
guix "/share/guile/site/2.0")
|
(car (find-files (string-append guix
|
||||||
|
"/share/guile/site")
|
||||||
|
(lambda (file stat)
|
||||||
|
(string-prefix?
|
||||||
|
"2."
|
||||||
|
(basename file)))
|
||||||
|
#:directories? #t)))
|
||||||
(string-append "--with-geiser-lispdir=" geiser site-lisp)
|
(string-append "--with-geiser-lispdir=" geiser site-lisp)
|
||||||
(string-append "--with-dash-lispdir="
|
(string-append "--with-dash-lispdir="
|
||||||
dash site-lisp "/guix.d/dash-"
|
dash site-lisp "/guix.d/dash-"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue