mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
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:
parent
eacb6c1506
commit
893c684e99
1 changed files with 11 additions and 6 deletions
|
@ -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 .
|
||||
|
|
Loading…
Reference in a new issue