It can build itself; I also have working distro/pkg/nix/
for knot-dns and knot-resolver.
Many things remain unclear; mainly see TODO/FIXME. Some are due to my lack of understanding of apkg, but mostly I'm rather uncertain how to reconciliate the "unusual" properties and conventions of Nix with the apkg approach.