defaultGemConfig: remove asciidoctor-diagram JARs
(Except on JRuby, where these are presumably important.)
This commit is contained in:
parent
fbe4716bd5
commit
1ac11cc1c1
1 changed files with 9 additions and 0 deletions
|
@ -39,6 +39,15 @@ 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 a new issue