<div dir="ltr"><div><div>Such requirement (dependency on executable) can't be covered by the<br></div>cabal file (at least with 'simple' build type). It's possible to write custom<br></div>setup.hs or use autotools to check such types of dependency. <br>
AFAIK there were other examples of dependencies, that can't be covered<br>by existing approaches, but I can't show them from the scratch.<br><div><div><br><div><br>--<br>Alexander<br></div></div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On 19 March 2014 21:24, Peter Simons <span dir="ltr"><<a href="mailto:simons@cryp.to" target="_blank">simons@cryp.to</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Alexander,<br>
<div class=""><br>
> Some packages require existing executables, e.g. git-annex require<br>
> lsof. There were some more examples of packages that doesn't have<br>
> pkg-config but require additional programs to be installed.<br>
<br>
</div>if the package requires system resources that the Cabal file doesn't<br>
declare, then this is a bug in the Cabal file, no?<br>
<div class="HOEnZb"><div class="h5"><br>
Take care,<br>
Peter<br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Alexander<br>
</div>