
6 Jun
2011
6 Jun
'11
7:55 a.m.
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?

6 Jun
6 Jun
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.
5097
Age (days ago)
5097
Last active (days ago)
1 comments
2 participants
participants (2)
-
Daniel Fischer
-
Guy