
6 Jun
2011
6 Jun
'11
8:17 a.m.
On Montag, 6. Juni 2011, 13:55, Guy wrote:
I created a package with Build-Type: Simple, and when I run cabal sdist, I get
Distribution quality errors:
The package is missing a Setup.hs or Setup.lhs script.
Is there some problem with the simple build type?
No, but while cabal-install is able to build and install a [build-type: simple] package without a Setup.[l]hs, assuming the defaultMain, the runhaskell ./Setup.hs configure ... way requires a Setup.[l]hs, so cabal sdist insists on the presence of such a file.