summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2013-09-14 15:30:27 +0200
committerVladimír Čunát <vcunat@gmail.com>2013-09-14 15:30:27 +0200
commitd3c6bd45ca5dec3e897cb5261f63d08ca81fb908 (patch)
treea97f8e1ecef00b6d52e1fd6e512d97dcd86c0171 /pkgs/applications/editors
parent2a73189a9c4bb0c98c6d4bc89e363ebce4ce5e0d (diff)
downloadnixlib-d3c6bd45ca5dec3e897cb5261f63d08ca81fb908.tar
nixlib-d3c6bd45ca5dec3e897cb5261f63d08ca81fb908.tar.gz
nixlib-d3c6bd45ca5dec3e897cb5261f63d08ca81fb908.tar.bz2
nixlib-d3c6bd45ca5dec3e897cb5261f63d08ca81fb908.tar.lz
nixlib-d3c6bd45ca5dec3e897cb5261f63d08ca81fb908.tar.xz
nixlib-d3c6bd45ca5dec3e897cb5261f63d08ca81fb908.tar.zst
nixlib-d3c6bd45ca5dec3e897cb5261f63d08ca81fb908.zip
emacs24: fix license typo, change indentation
Note that the double-quote "indented strings" strip indentation,
so this ugly style was pointless.
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/emacs-24/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/applications/editors/emacs-24/default.nix b/pkgs/applications/editors/emacs-24/default.nix
index ad42cc7cf335..0dcb585e12e9 100644
--- a/pkgs/applications/editors/emacs-24/default.nix
+++ b/pkgs/applications/editors/emacs-24/default.nix
@@ -41,12 +41,12 @@ stdenv.mkDerivation rec {
 
   postInstall = ''
     cat >$out/share/emacs/site-lisp/site-start.el <<EOF
-;; nixos specific load-path
-(when (getenv "NIX_PROFILES") (setq load-path
-                      (append (reverse (mapcar (lambda (x) (concat x "/share/emacs/site-lisp/"))
-                                               (split-string (getenv "NIX_PROFILES"))))
-                       load-path)))
-EOF
+    ;; nixos specific load-path
+    (when (getenv "NIX_PROFILES") (setq load-path
+                          (append (reverse (mapcar (lambda (x) (concat x "/share/emacs/site-lisp/"))
+                                                   (split-string (getenv "NIX_PROFILES"))))
+                           load-path)))
+    EOF
   '';
 
 
@@ -56,7 +56,7 @@ EOF
   meta = with stdenv.lib; {
     description = "GNU Emacs 24, the extensible, customizable text editor";
     homepage    = http://www.gnu.org/software/emacs/;
-    license     = licenses.gplv3Plus;
+    license     = licenses.gpl3Plus;
     maintainers = with maintainers; [ chaoflow lovek323 simons the-kenny ];
     platforms   = platforms.all;