pkgs/development/compilers/ghc/with-packages.nix: include bash completion files in the generated environment

This commit is contained in:
Peter Simons 2012-09-25 15:05:49 +02:00
parent 656badd501
commit 3a34ac175f

View file

@ -59,6 +59,11 @@ stdenv.mkDerivation rec {
ln -s $f $out/bin
echo -n .
done
for f in "$currentPath/etc/bash_completion.d/"*; do
mkdir -p $out/etc/bash_completion.d
ln -s $f $out/etc/bash_completion.d/
echo -n .
done
for f in "$currentPkgDir/"*.conf; do
ln -s $f $linkedPkgDir
echo -n .