[ghc] in pkg-deps.sh only filter ^bytestring$

Jens Petersen petersen at fedoraproject.org
Mon Dec 6 01:00:48 UTC 2010


commit 8ebc64b8d320ae611e228161f9e37583f474cd47
Author: Jens Petersen <petersen at redhat.com>
Date:   Mon Dec 6 11:00:27 2010 +1000

    in pkg-deps.sh only filter ^bytestring$

 pkg-deps.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pkg-deps.sh b/pkg-deps.sh
index 20ba351..5d5a83e 100755
--- a/pkg-deps.sh
+++ b/pkg-deps.sh
@@ -39,7 +39,7 @@ echo "}" >> pkgs.dot
 cp -p pkgs.dot pkgs.dot.orig
 
 # ignore library packages provided by ghc (except ghc-6.12)
-GHC_PKGS="array base-4 base-3 bin-package-db bytestring Cabal containers directory dph extensible-exceptions filepath ffi ghc-binary ghc-prim haskell98 hpc integer-gmp old-locale old-time pretty process random rts template-haskell time unix Win32"
+GHC_PKGS="array base-4 base-3 bin-package-db $(ghc-pkg --simple-output list bytestring) Cabal containers directory dph extensible-exceptions filepath ffi ghc-binary ghc-prim haskell98 hpc integer-gmp old-locale old-time pretty process random rts template-haskell time unix Win32"
 for i in $GHC_PKGS; do sed -i -e /$i/d pkgs.dot; done
 
 which tred &>/dev/null || { echo "graphviz is needed to generate graph" ; exit 1 ; }


More information about the scm-commits mailing list