Linking the complete topdir of GHC in ghc-with-packages.

svn path=/nixpkgs/trunk/; revision=30826
This commit is contained in:
Andres Löh 2011-12-11 17:19:36 +00:00
parent 257a8deddd
commit 64c0b00bbd

View File

@ -21,11 +21,14 @@ stdenv.mkDerivation rec {
echo "Linking GHC core libraries:"
if test -f $originalTopDir/settings; then
echo -n "Linking $originalTopDir/settings "
ln -s $originalTopDir/settings $linkedTopDir
echo .
fi
echo -n "Linking $originalTopDir "
for f in $originalTopDir/*; do
if test -f $f; then
ln -s $f $linkedTopDir
echo -n .
fi
done
echo
echo -n "Linking $originalPkgDir "
for f in $originalPkgDir/*.conf; do