2008/6/19 Duncan Coutts <[EMAIL PROTECTED]>:
>
> Ok, so the issue is that only the autoconfUserHooks looks for .buildinfo
> files. The assumption was that configure scripts would want to write
> a .buildinfo file while Setup.hs scripts can do it directly without
> needing to go via any file.
>
> So probably the easiest thing to do is to use the autoconfUserHooks
> anyway and make sure you override postConf otherwise it'll try to find
> a ./configure script to run.
>
> The reason I couldn't reproduce it before of course is that I was making
> assumptions about what you were doing and using autoconfUserHooks :-)


Well, partly my fault. I was using defaultUserHooks, but this is now
marked as deprecated, so I changed it to simpleUserHooks. Make a
change, something breaks, is there a connection? :-)

We were always overriding the postConf hook, so using
autoconfUserHooks as a defaultUserHooks replacement seems to work.

Thanks,
Alistair

_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel

Reply via email to