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:
parent
557b443374
commit
89a09456c7
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user