$NetBSD$

--- Setup.hs.orig	2005-07-14 07:58:25.000000000 +0000
+++ Setup.hs
@@ -8,7 +8,7 @@ import Distribution.Simple
 import Distribution.Setup
 import Distribution.Simple.LocalBuildInfo
 
-main = defaultMainWithHooks defaultUserHooks {postInst = addWrapperAndLib}
+main = defaultMainWithHooks defaultUserHooks
 
 -- Install the c2hs shell script wrapper that passes the --data options as
 -- well as the `C2HS' library module.
@@ -17,6 +17,3 @@ main = defaultMainWithHooks defaultUserH
 --   as Cabal doesn't give us enough info (eg, no package name and version) to
 --   do it all in Haskell.
 --
-addWrapperAndLib :: Args -> InstallFlags -> LocalBuildInfo -> IO ExitCode
-addWrapperAndLib _ _ _ =
-  system "./postInst.sh"
