pkgs/development/compilers/ghc/with-packages.nix: trivial changes to fix syntax highlighting in Emacs

svn path=/nixpkgs/trunk/; revision=33324
This commit is contained in:
Peter Simons 2012-03-21 11:46:12 +00:00
parent 28027d4771
commit d8e65ee71d

View File

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
echo "Linking GHC core libraries:" echo "Linking GHC core libraries:"
echo -n "Linking $originalTopDir " echo -n "Linking $originalTopDir "
for f in $originalTopDir/*; do for f in "$originalTopDir/"*; do
if test -f $f; then if test -f $f; then
ln -s $f $linkedTopDir ln -s $f $linkedTopDir
echo -n . echo -n .
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
echo echo
echo -n "Linking $originalPkgDir " echo -n "Linking $originalPkgDir "
for f in $originalPkgDir/*.conf; do for f in "$originalPkgDir/"*.conf; do
ln -s $f $linkedPkgDir ln -s $f $linkedPkgDir
echo -n . echo -n .
done done
@ -44,11 +44,11 @@ stdenv.mkDerivation rec {
# Check if current path is a Cabal package for the current GHC # Check if current path is a Cabal package for the current GHC
if test -d $currentPkgDir; then if test -d $currentPkgDir; then
echo -n "Linking $currentPath " echo -n "Linking $currentPath "
for f in $currentPath/bin/*; do for f in "$currentPath/bin/"*; do
ln -s $f $out/bin ln -s $f $out/bin
echo -n . echo -n .
done done
for f in $currentPkgDir/*.conf; do for f in "$currentPkgDir/"*.conf; do
ln -s $f $linkedPkgDir ln -s $f $linkedPkgDir
echo -n . echo -n .
done done