[Haskell-cafe] cabal, Setup.lhs example
Magnus Therning
magnus at therning.org
Thu Jul 22 06:31:21 EDT 2010
On Thu, Jul 22, 2010 at 10:59, Ross Paterson <ross at soi.city.ac.uk> wrote:
> On Wed, Jul 21, 2010 at 09:43:16AM -0700, Rogan Creswick wrote:
>> On Wed, Jul 21, 2010 at 3:00 AM, Magnus Therning <magnus at therning.org> wrote:
>> > I am successfully using hooks with the following in my .cabal file:
>> >
>> > Build-Type : Simple
>>
>> I've been unable to reproduce this -- flipping the build type to
>> Custom has been necessary in every configuration I've tried. I'd like
>> to see what I'm doing differently -- is this used in a publicly
>> available package I could take a look at?
>
> Magnus is building by directly running the Setup.hs himself, which ignores
> the Build-Type. To get cabal-install to use his Setup.hs, the Build-Type
> must be set to Custom.
Oh, why*2?
Why is the header there if it's not used by Cabal, and why does cabal care?
Cheers,
M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe
More information about the Haskell-Cafe
mailing list