<div dir="ltr"><div><div>In Gentoo Linux we use a common ebuild format that allowes to add native dependencies to packages.<br>To create a ebuild from cabal file we use tool called hackport [1].<br><br></div><div>This approach allow to bump dependencies when some authors are to lazy to bump them themselves,<br>
</div><div>even in presence of pull requests, and add compatibility patches. Also it's possible to create a desktop-icons,<br></div><div>additional files, filter test/bench programs that should not be installed into system. Also it supports a dependency<br>
</div><div>on package flags and profiling.<br></div><div></div><div><br></div><div>However this approach doesn't scale on other distros in a easy way, one possibility is to create static<br>packages using emerge, but this area require some more research.<br>
</div><div><br></div>[1] <a href="http://hackage.haskell.org/package/hackport">http://hackage.haskell.org/package/hackport</a><br><br>--<br></div>  Alexander<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 18 March 2014 20:26, David Thomas <span dir="ltr"><<a href="mailto:davidleothomas@gmail.com" target="_blank">davidleothomas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Is there a way to extract this?  I'm looking to make it easier for newcomers to my project to get things building across different linux distros.<br></div>
<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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Alexander<br>
</div>