After about 30 minutes of browsing through HackageDB and seereason’s source repos, building and installing, I had finally satisfied all dependencies and the build of
cabal-debian succeeded. (Oh, BTW, seereason people, it’s really confusing that you have a package called debian among your source repos, when there already is a different debian package on HackageDB. Please consider renaming it!) I decided to take the tool for a spin on my own package, dataenc.
The result was fairly good. It seems the generated files depend on some packages that either aren’t in Debian or that the people at seereason have modified. With the following changes to the generated files I was happy with the contents of
./debian and I successfully built an (almost) autogenerated Debian package:
- Download hlibrary.mk into
hlibrary.mkis loaded from
haskell-devscripts-cdbsfrom the build dependencies in
I’ll try to find the time to put those changes into
cabal-debian itself. Then I’d have a rather nice tool for building Debian packages automatically.