about summary refs log tree commit diff
path: root/pkgs/development/compilers/ghc
diff options
context:
space:
mode:
authorMarc Weber <marco-oweber@gmx.de>2008-04-15 17:05:28 +0000
committerMarc Weber <marco-oweber@gmx.de>2008-04-15 17:05:28 +0000
commit5f5fb2ce5dfe974cd2918737a94e3bedfbb75a11 (patch)
treeca174f080e0e1d4eca854d740ff8cc92e9e4c468 /pkgs/development/compilers/ghc
parentec9950c07af98a666ecc1ce72caa55009d5dc7f7 (diff)
exposing /bin/* as well because of helper applications such as hsc2hs
svn path=/nixpkgs/trunk/; revision=11636
Diffstat (limited to 'pkgs/development/compilers/ghc')
-rw-r--r--pkgs/development/compilers/ghc/ghc-wrapper/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghc/ghc-wrapper/default.nix b/pkgs/development/compilers/ghc/ghc-wrapper/default.nix
index 2024c13d7353b..9cff8095c65f0 100644
--- a/pkgs/development/compilers/ghc/ghc-wrapper/default.nix
+++ b/pkgs/development/compilers/ghc/ghc-wrapper/default.nix
@@ -37,7 +37,7 @@ EOF
     for i in `echo $GHC_PACKAGE_PATH | sed 's/:/ /g'`; do
       o=\${i/lib*/}
       o=\${i/nix-support*/}
-      for j in `find \${o}bin/ -type f 2>/dev/null` `find \${o}usr/local/bin/ -type f 2>/dev/null`; do
+      for j in \$ghc/bin/* `find \${o}bin/ -type f 2>/dev/null` `find \${o}usr/local/bin/ -type f 2>/dev/null`; do
         b=`basename \$j`
         if [ \$b == sh ]; then continue; fi
         if [ \$b == bash ]; then continue; fi