defaultGemConfig: remove asciidoctor-diagram JARs
(Except on JRuby, where these are presumably important.)
This commit is contained in:
parent
fbe4716bd5
commit
1ac11cc1c1
@ -39,6 +39,15 @@ let
|
|||||||
in
|
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: {
|
atk = attrs: {
|
||||||
dependencies = attrs.dependencies ++ [ "gobject-introspection" ];
|
dependencies = attrs.dependencies ++ [ "gobject-introspection" ];
|
||||||
nativeBuildInputs = [ rake bundler pkgconfig ];
|
nativeBuildInputs = [ rake bundler pkgconfig ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user