Workaround CI (haskell-actions/setup#62)
[cabal.git] / Cabal / Setup.hs
bloba3e3aa6e410731311386b88018b749d297605b3a
1 import Distribution.Simple
3 main :: IO ()
4 main = defaultMain
6 -- Although this looks like the Simple build type, it is in fact vital that
7 -- we use this Setup.hs because it'll get compiled against the local copy
8 -- of the Cabal lib, thus enabling Cabal to bootstrap itself without relying
9 -- on any previous installation. This also means we can use any new features
10 -- immediately because we never have to worry about building Cabal with an
11 -- older version of itself.
13 -- NOTE 25/01/2015: Bootstrapping is disabled for now, see
14 -- https://github.com/haskell/cabal/issues/3003.