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.
This commit is contained in:
Peter Simons 2013-03-15 19:58:08 +01:00
parent eacb6c1506
commit 893c684e99

View file

@ -71,6 +71,11 @@ stdenv.mkDerivation rec {
echo -n .
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 .