Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
defaultGemConfig: remove asciidoctor-diagram JARs
Browse files Browse the repository at this point in the history
(Except on JRuby, where these are presumably important.)
  • Loading branch information
alyssais committed Jan 9, 2020
1 parent fbe4716 commit 1ac11cc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/ruby-modules/gem-config/default.nix
Expand Up @@ -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 ];
Expand Down

0 comments on commit 1ac11cc

Please sign in to comment.