Cabal-1.4: library-dirs and include-dirs missing from package description after install

Alistair Bayley alistair at abayley.org
Fri Jun 20 05:19:43 EDT 2008


2008/6/19 Duncan Coutts <duncan.coutts at worc.ox.ac.uk>:
>
> 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


More information about the Libraries mailing list