summary refs log tree commit diff
path: root/pkgs/applications/editors/emacs-modes
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2014-10-22 12:56:48 +0200
committerPeter Simons <simons@cryp.to>2014-10-22 13:06:43 +0200
commitb31ac058cc19f1ebc2a15b4f6ff4475eb91b0206 (patch)
treeb32f433309deee13ddcba36c038ac654a9f80ecd /pkgs/applications/editors/emacs-modes
parent97e0f851d943805199f1338c10888266a882a1eb (diff)
downloadnixpkgs-b31ac058cc19f1ebc2a15b4f6ff4475eb91b0206.tar
nixpkgs-b31ac058cc19f1ebc2a15b4f6ff4475eb91b0206.tar.gz
nixpkgs-b31ac058cc19f1ebc2a15b4f6ff4475eb91b0206.tar.bz2
nixpkgs-b31ac058cc19f1ebc2a15b4f6ff4475eb91b0206.tar.lz
nixpkgs-b31ac058cc19f1ebc2a15b4f6ff4475eb91b0206.tar.xz
nixpkgs-b31ac058cc19f1ebc2a15b4f6ff4475eb91b0206.tar.zst
nixpkgs-b31ac058cc19f1ebc2a15b4f6ff4475eb91b0206.zip
magit: don't install lisp files into a "magit" sub-directory
After this change, Emacs can load the magit-*.el files without further
configuration. Just add

    (require 'magit-autoloads)

to ~/.emacs, and run M-x magit-status or any other magit command.
Diffstat (limited to 'pkgs/applications/editors/emacs-modes')
-rw-r--r--pkgs/applications/editors/emacs-modes/magit/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs-modes/magit/default.nix b/pkgs/applications/editors/emacs-modes/magit/default.nix
index 093a5420a5e..4a8d8b20d04 100644
--- a/pkgs/applications/editors/emacs-modes/magit/default.nix
+++ b/pkgs/applications/editors/emacs-modes/magit/default.nix
@@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
     makeFlagsArray=(
       PREFIX="$out"
       EFLAGS="-L ${gitModes}/share/emacs/site-lisp"
+      lispdir="$out/share/emacs/site-lisp"
     )
   '';