Open jhidding opened 5 years ago
I'm not using cabal-debian heavily these days - is this blocking your use of the package?
Not really. cabal-debian just makes it very easy to create a Debian package, and I was hoping there's an easy fix. I could dig a bit deeper and see where the dependency creeps in.
I think libatomic1 is a dependency of Neil Mitchell's extra package, even though I don't actually call the function that uses it.
When I use
cabal-debian
to build a debian package for an executable, the resulting executable is linked againstlibffi
andlibatomic1
, whereas the same build usingstack build
has no such linkage. Thedebbuild
command warns that these libraries are linked against but no calls are made that actually need them.I run a project called
entangled
(https://github.com/jhidding/entangled). I use the following Dockerfile to build an installable.deb
file:The resulting binary is linked as: