[Haskell-beginners] cabal sdist and Setup.hs

Daniel Fischer daniel.is.fischer at googlemail.com
Mon Jun 6 14:17:48 CEST 2011


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.



More information about the Beginners mailing list