diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-04-06 13:35:56 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-04-06 14:06:55 -0400 |
commit | 87aaccbf5584eaca421e5e238534c79ef5fd4d2a (patch) | |
tree | d33c9f50495657a40d3155a49bd8586c62980861 /gnu | |
parent | 5fd046cbfd73ac178c02c503f3d8e2104a929e52 (diff) | |
download | guix-87aaccbf5584eaca421e5e238534c79ef5fd4d2a.tar guix-87aaccbf5584eaca421e5e238534c79ef5fd4d2a.tar.gz |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 239915fffe..8e80ccbb56 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -12486,13 +12486,11 @@ using Imenu, and Compilation mode support for MSBuild, devenv and xbuild.") (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") |