This reverts commit 1ac11cc1c1. asciidoctor-diagram starts Java processes, so the JARs are necessary on all platforms. See https://github.com/NixOS/nixpkgs/pull/77149#issuecomment-594576339.
1ac11cc1c1