Revert "defaultGemConfig: remove asciidoctor-diagram JARs" (#81737)

This reverts commit 1ac11cc1c1858af1cef725d68cacf7102366e588.

asciidoctor-diagram starts Java processes, so the JARs are necessary
on all platforms.

See https://github.com/NixOS/nixpkgs/pull/77149#issuecomment-594576339.
This commit is contained in:
zimbatm 2020-03-04 18:04:36 +00:00 committed by GitHub
parent 557b443374
commit 89a09456c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -39,15 +39,6 @@ let
in
{
asciidoctor-diagram = { version, ruby, ... }: {
postInstall = ''
# Delete vendored JAR files unless using JRuby.
if ruby -e 'exit(RUBY_PLATFORM != "java")'; then
rm -v $out/${ruby.gemPath}/gems/$gemName-${version}/lib/*.jar
fi
'';
};
atk = attrs: {
dependencies = attrs.dependencies ++ [ "gobject-introspection" ];
nativeBuildInputs = [ rake bundler pkgconfig ];