gnu: emacs-haskell-mode: Adjust to changes in emacs-build-system.

* gnu/packages/emacs-xyz.scm (emacs-haskell-mode)[#:phases]<install>: Install
to elpa-directory.
This commit is contained in:
Leo Prikler 2021-04-17 19:06:47 +02:00
parent 3c501881c1
commit 0bb41f6db6
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -1272,7 +1272,11 @@ (define-public emacs-haskell-mode
"/bin/emacs"))
#:modules ((ice-9 match)
(srfi srfi-26)
((guix build emacs-build-system) #:prefix emacs:)
,@%gnu-build-system-modules)
#:imported-modules (,@%gnu-build-system-modules
(guix build emacs-build-system)
(guix build emacs-utils))
#:phases
(modify-phases %standard-phases
(delete 'configure)
@ -1313,7 +1317,7 @@ (define emacs-prefix? (cut string-prefix? "emacs-" <>))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(el-dir (string-append out "/share/emacs/site-lisp"))
(el-dir (emacs:elpa-directory out))
(doc (string-append
out "/share/doc/haskell-mode-" ,version))
(info (string-append out "/share/info")))