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 <