From 3026d8833daf8bfe7d5c0f7cea2453ebb8fc8dbb Mon Sep 17 00:00:00 2001 From: Joel Taylor Date: Thu, 7 Aug 2014 18:46:17 -0700 Subject: [PATCH] add libs to GEM_PATH --- pkgs/development/interpreters/ruby/gem.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/interpreters/ruby/gem.nix b/pkgs/development/interpreters/ruby/gem.nix index d8173de2ecc6..c7256954a151 100644 --- a/pkgs/development/interpreters/ruby/gem.nix +++ b/pkgs/development/interpreters/ruby/gem.nix @@ -82,6 +82,12 @@ in ruby.stdenv.mkDerivation (attrs // { rm $out/${ruby.gemPath}/doc/*/*/created.rid || true rm $out/${ruby.gemPath}/gems/*/ext/*/mkmf.log || true + mkdir -p $out/nix-support + + cat > $out/nix-support/setup-hook <