summary refs log tree commit diff
diff options
context:
space:
mode:
authorDan Peebles <pumpkin@me.com>2016-10-31 21:39:44 +0000
committerDan Peebles <pumpkin@me.com>2016-10-31 22:16:26 +0000
commitd0bb7f0c535132479dd66d975129db2a11d1afc4 (patch)
tree22dbbaa5663ea46cb9c1e2356511ce128284ee35
parent22cc5407cd7baa1c940f9c5639ad27a95a380334 (diff)
downloadnixlib-d0bb7f0c535132479dd66d975129db2a11d1afc4.tar
nixlib-d0bb7f0c535132479dd66d975129db2a11d1afc4.tar.gz
nixlib-d0bb7f0c535132479dd66d975129db2a11d1afc4.tar.bz2
nixlib-d0bb7f0c535132479dd66d975129db2a11d1afc4.tar.lz
nixlib-d0bb7f0c535132479dd66d975129db2a11d1afc4.tar.xz
nixlib-d0bb7f0c535132479dd66d975129db2a11d1afc4.tar.zst
nixlib-d0bb7f0c535132479dd66d975129db2a11d1afc4.zip
ruby: remove unnecessary runtime dependency on groff
-rw-r--r--pkgs/development/interpreters/ruby/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/ruby/default.nix b/pkgs/development/interpreters/ruby/default.nix
index 7126a5140c36..336c861bbdc4 100644
--- a/pkgs/development/interpreters/ruby/default.nix
+++ b/pkgs/development/interpreters/ruby/default.nix
@@ -129,6 +129,9 @@ let
           $out/bin/ruby setup.rb
           popd
 
+          # Remove unnecessary groff reference from runtime closure, since it's big
+          sed -i '/NROFF/d' $out/lib/ruby/*/*/rbconfig.rb
+
           # Bundler tries to create this directory
           mkdir -pv $out/${passthru.gemPath}
           mkdir -p $out/nix-support