+#hs: i ran into the problem that cabal install does not execute
+#my Setup.hs - as workaround i invoke runhaskell Setup.hs etc directly
+function gitinstallWithCustomSetup {
+ url=$1
+ git clone $url tmprepo
+ cd tmprepo
+ runhaskell Setup.hs configure --user $CABAL_OPT
+ runhaskell Setup.hs build
+ runhaskell Setup.hs install
+ cd ..
+ rm -rf tmprepo
+}
+