summary refs log tree commit diff
path: root/pkgs/development/ruby-modules/gem-config
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2020-03-04 18:04:36 +0000
committerGitHub <noreply@github.com>2020-03-04 18:04:36 +0000
commit89a09456c714de093d46d51f0c2b03cb61633f54 (patch)
treec28388f84dc26f43b4a61715a958fba8b70f09b6 /pkgs/development/ruby-modules/gem-config
parent557b443374f7d3e8b25477a10c6f42c5f32472e4 (diff)
downloadnixpkgs-89a09456c714de093d46d51f0c2b03cb61633f54.tar
nixpkgs-89a09456c714de093d46d51f0c2b03cb61633f54.tar.gz
nixpkgs-89a09456c714de093d46d51f0c2b03cb61633f54.tar.bz2
nixpkgs-89a09456c714de093d46d51f0c2b03cb61633f54.tar.lz
nixpkgs-89a09456c714de093d46d51f0c2b03cb61633f54.tar.xz
nixpkgs-89a09456c714de093d46d51f0c2b03cb61633f54.tar.zst
nixpkgs-89a09456c714de093d46d51f0c2b03cb61633f54.zip
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.
Diffstat (limited to 'pkgs/development/ruby-modules/gem-config')
-rw-r--r--pkgs/development/ruby-modules/gem-config/default.nix9
1 files changed, 0 insertions, 9 deletions
diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix
index d68e1592d88..65f27f497b7 100644
--- a/pkgs/development/ruby-modules/gem-config/default.nix
+++ b/pkgs/development/ruby-modules/gem-config/default.nix
@@ -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 ];