diff options
author | Leo Prikler <leo.prikler@student.tugraz.at> | 2021-04-17 19:06:21 +0200 |
---|---|---|
committer | Leo Prikler <leo.prikler@student.tugraz.at> | 2021-05-01 15:56:38 +0200 |
commit | f974455708ce838fe685b69a34b64ebb123cb3a8 (patch) | |
tree | f76e1daeedca7b68a5c2e77a6012f7264049e55c | |
parent | 89718b95a04266957ff8189ee8cab8e241e00813 (diff) | |
download | guix-f974455708ce838fe685b69a34b64ebb123cb3a8.tar.gz |
gnu: emacs-guix: Adjust to changes in emacs-build-system.
* gnu/packages/emacs-xyz.scm (emacs-guix)[#:phases]: Add expand-load-path. [#:configure-flags]: Install to elpa-directory.
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 98c99a6ba9..521a9c7b4c 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3087,6 +3087,23 @@ type, for example: packages, buffers, files, etc.") (base32 "1pqw7zbgxzwpig4xr0izc3z8h80c72i6bl5yi12br0d7aq6dbkvj")))) (build-system gnu-build-system) + (arguments + `(#:modules ((guix build gnu-build-system) + ((guix build emacs-build-system) #:prefix emacs:) + (guix build utils)) + #:imported-modules (,@%gnu-build-system-modules + (guix build emacs-build-system) + (guix build emacs-utils)) + #:configure-flags + (list (string-append "--with-lispdir=" + (emacs:elpa-directory (assoc-ref %outputs "out")))) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'expand-load-path + (lambda _ + ((assoc-ref emacs:%standard-phases 'expand-load-path) + #:prepend-source? #f) + #t))))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) |