summary refs log tree commit diff
path: root/pkgs/development/compilers/ghc
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2012-03-21 11:46:12 +0000
committerPeter Simons <simons@cryp.to>2012-03-21 11:46:12 +0000
commitd8e65ee71ddcf8cfece8156489fde1343cd1c047 (patch)
tree430191f9238e486611b0ef64b1422256e10c4dac /pkgs/development/compilers/ghc
parent28027d477126190be8f7e855c816e735feac8f2f (diff)
downloadnixlib-d8e65ee71ddcf8cfece8156489fde1343cd1c047.tar
nixlib-d8e65ee71ddcf8cfece8156489fde1343cd1c047.tar.gz
nixlib-d8e65ee71ddcf8cfece8156489fde1343cd1c047.tar.bz2
nixlib-d8e65ee71ddcf8cfece8156489fde1343cd1c047.tar.lz
nixlib-d8e65ee71ddcf8cfece8156489fde1343cd1c047.tar.xz
nixlib-d8e65ee71ddcf8cfece8156489fde1343cd1c047.tar.zst
nixlib-d8e65ee71ddcf8cfece8156489fde1343cd1c047.zip
pkgs/development/compilers/ghc/with-packages.nix: trivial changes to fix syntax highlighting in Emacs
svn path=/nixpkgs/trunk/; revision=33324
Diffstat (limited to 'pkgs/development/compilers/ghc')
-rw-r--r--pkgs/development/compilers/ghc/with-packages.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/compilers/ghc/with-packages.nix b/pkgs/development/compilers/ghc/with-packages.nix
index 63427ea82782..a64047a29064 100644
--- a/pkgs/development/compilers/ghc/with-packages.nix
+++ b/pkgs/development/compilers/ghc/with-packages.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
     echo "Linking GHC core libraries:"
 
     echo -n "Linking $originalTopDir "
-    for f in $originalTopDir/*; do
+    for f in "$originalTopDir/"*; do
       if test -f $f; then
         ln -s $f $linkedTopDir
         echo -n .
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
     echo
 
     echo -n "Linking $originalPkgDir "
-    for f in $originalPkgDir/*.conf; do
+    for f in "$originalPkgDir/"*.conf; do
       ln -s $f $linkedPkgDir
       echo -n .
     done
@@ -44,11 +44,11 @@ stdenv.mkDerivation rec {
       # Check if current path is a Cabal package for the current GHC
       if test -d $currentPkgDir; then
         echo -n "Linking $currentPath "
-        for f in $currentPath/bin/*; do
+        for f in "$currentPath/bin/"*; do
           ln -s $f $out/bin
           echo -n .
         done
-        for f in $currentPkgDir/*.conf; do
+        for f in "$currentPkgDir/"*.conf; do
           ln -s $f $linkedPkgDir
           echo -n .
         done