gnu: emacs-php-mode: Fix installation prefix.

* gnu/packages/emacs-xyz.scm (emacs-php-mode)
[include]: Remove argument.
[phases]{add-lisp-dir-to-emacs-load-path}: Remove phase.
{enter-source-directory}: Add phase.
This commit is contained in:
Maxim Cournoyer 2021-04-06 13:35:56 -04:00
parent 5fd046cbfd
commit 87aaccbf55
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -12486,13 +12486,11 @@ (define-public emacs-php-mode
(base32 "0bs9q62bd7885c39v7x1qz3w1fhpmpdgm72xwsk2yygw0ii425nn"))))
(build-system emacs-build-system)
(arguments
`(#:include (cons "^lisp/" %default-include)
#:phases
`(#:phases
(modify-phases %standard-phases
(add-after 'add-source-to-load-path 'add-lisp-dir-to-emacs-load-path
(add-after 'unpack 'enter-source-directory
(lambda _
(setenv "EMACSLOADPATH"
(string-append (getcwd) "/lisp:" (getenv "EMACSLOADPATH"))))))))
(chdir "lisp"))))))
(propagated-inputs `(("emacs-projectile" ,emacs-projectile)))
(home-page "https://github.com/ejmr/php-mode")
(synopsis "Major mode for editing PHP code")