summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2013-03-15 19:58:08 +0100
committerPeter Simons <simons@cryp.to>2013-03-15 19:58:08 +0100
commit893c684e994eb6d6723e675d35a6256397b0783f (patch)
tree105e8ace4f07e6cda1f16a5448c0c70075c5a9cb /pkgs
parenteacb6c15065dfe5b5f41c14369ea02df03fcaaa9 (diff)
downloadnixlib-893c684e994eb6d6723e675d35a6256397b0783f.tar
nixlib-893c684e994eb6d6723e675d35a6256397b0783f.tar.gz
nixlib-893c684e994eb6d6723e675d35a6256397b0783f.tar.bz2
nixlib-893c684e994eb6d6723e675d35a6256397b0783f.tar.lz
nixlib-893c684e994eb6d6723e675d35a6256397b0783f.tar.xz
nixlib-893c684e994eb6d6723e675d35a6256397b0783f.tar.zst
nixlib-893c684e994eb6d6723e675d35a6256397b0783f.zip
pkgs/development/compilers/ghc/with-packages.nix: include share/emacs/site-lisp in the generated environment
This change allows 'ghc-mod' to be included in such a GHC environment,
which is important because the tool is GHC version-specific.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/compilers/ghc/with-packages.nix17
1 files changed, 11 insertions, 6 deletions
diff --git a/pkgs/development/compilers/ghc/with-packages.nix b/pkgs/development/compilers/ghc/with-packages.nix
index 3494f63c11c8..99e91901d00c 100644
--- a/pkgs/development/compilers/ghc/with-packages.nix
+++ b/pkgs/development/compilers/ghc/with-packages.nix
@@ -60,17 +60,22 @@ stdenv.mkDerivation rec {
           echo -n .
         done
         for f in "$currentPath/etc/bash_completion.d/"*; do
-	  mkdir -p $out/etc/bash_completion.d
+          mkdir -p $out/etc/bash_completion.d
           ln -s $f $out/etc/bash_completion.d/
           echo -n .
         done
-	for s in 1 2 3 4 5 6 7 8 9; do
-	  for f in "$currentPath/share/man/man$s/"*; do
-	    mkdir -p $out/share/man/man$s
+        for s in 1 2 3 4 5 6 7 8 9; do
+          for f in "$currentPath/share/man/man$s/"*; do
+            mkdir -p $out/share/man/man$s
             ln -sv $f $out/share/man/man$s/
             echo -n .
-	  done
-       done
+          done
+        done
+        for f in "$currentPath/share/emacs/site-lisp/"*; do
+          mkdir -p $out/share/emacs/site-lisp
+          ln -s $f $out/share/emacs/site-lisp/
+          echo -n .
+        done
         for f in "$currentPkgDir/"*.conf; do
           ln -s $f $linkedPkgDir
           echo -n .