From d0bb7f0c535132479dd66d975129db2a11d1afc4 Mon Sep 17 00:00:00 2001 From: Dan Peebles Date: Mon, 31 Oct 2016 21:39:44 +0000 Subject: [PATCH] ruby: remove unnecessary runtime dependency on groff --- pkgs/development/interpreters/ruby/default.nix | 3 +++ 1 file changed, 3 insertions(+) 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