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:" echo "Linking GHC core libraries:"
if test -f $originalTopDir/settings; then echo -n "Linking $originalTopDir "
echo -n "Linking $originalTopDir/settings " for f in $originalTopDir/*; do
ln -s $originalTopDir/settings $linkedTopDir if test -f $f; then
echo . ln -s $f $linkedTopDir
fi echo -n .
fi
done
echo
echo -n "Linking $originalPkgDir " echo -n "Linking $originalPkgDir "
for f in $originalPkgDir/*.conf; do for f in $originalPkgDir/*.conf; do