Le 17/10/2016 à 16:11, Sean Whitton a écrit :
> On Mon, Oct 17, 2016 at 10:01:58AM +0200, Damien Couroussé wrote:
>> > Does anyone here use stack to build Debian packages? Is it possible?
> Could you explain why you'd want to do this? To take advantage of
> upstream stack config files?
I did a few Debian packages for personal use and fun, but I know very
little about packaging. Noob here, so please forgive me if the question
is not relevant. :)
I would like to package binary executables, but some dependencies are
not packaged yet in Debian. When I started playing with Haskell, I used
to install all dependencies from deb packages. I found it a bit more
easy than managing dependencies with cabal, but not so easy as well,
because most of the time the number of library deps is quite large. Now
using stack, and the management of dependencies seems more easy to me,
at least for building.
For the deployment of binaries, deb packages seems a good option to me.
So I was wondering if it could be possible to take advantage of the
dependencies installed by stack to build debian packages.