diff options
author | zimbatm <zimbatm@zimbatm.com> | 2016-09-20 17:41:16 +0100 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2016-10-02 22:07:22 +0100 |
commit | b8bcbec5fd5011aa19f45217a3f212a2ba4701b0 (patch) | |
tree | 61539124fe89fcd4aff0b20e5df6a84686eaa068 /pkgs/development/ruby-modules/gem | |
parent | 854e00943b65396d2dadaa9d0e73bec5e34817d8 (diff) |
ruby: fixes rubygems user installs
* Manage patches in git * Fixes the hook invocation to be more safe. Thanks @Mic92 * Install gems as user by default * Install gem binaries with the /usr/bin/env shebang * Fixes a bug where the passthru.libPath and passthru.gemPath would point to the wrong directory * Overhaul ruby version heuristics
Diffstat (limited to 'pkgs/development/ruby-modules/gem')
-rw-r--r-- | pkgs/development/ruby-modules/gem/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/ruby-modules/gem/default.nix b/pkgs/development/ruby-modules/gem/default.nix index 347c4a79c5969..ade6659c400bf 100644 --- a/pkgs/development/ruby-modules/gem/default.nix +++ b/pkgs/development/ruby-modules/gem/default.nix @@ -184,6 +184,7 @@ stdenv.mkDerivation (attrs // { --install-dir "$GEM_HOME" \ --build-root '/' \ --backtrace \ + --no-env-shebang \ ${documentFlag} \ $gempkg $gemFlags -- $buildFlags |