Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use the standard defaultMain in Setup.hs

defaultMain is the same as defaultMainWithHooks simpleUserHooks
but it's available in all versions of Cabal since the beginning
of time, where as simpleUserHooks is new in Cabal 1.4.
  • Loading branch information...
commit 0dd6d0d3aed51b0751b64780fbc116c24640566a 1 parent 7e6e680
Duncan Coutts dcoutts authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Setup.hs
2  Setup.hs
View
@@ -1,4 +1,4 @@
#!/usr/bin/env runhaskell
import Distribution.Simple
main :: IO ()
-main = defaultMainWithHooks simpleUserHooks
+main = defaultMain
Please sign in to comment.
Something went wrong with that request. Please try again.