summary refs log tree commit diff
path: root/pkgs/development/ruby-modules/gem
Commit message (Collapse)AuthorAge
* buildRubyGem: remove more bloat filesAlyssa Ross2020-01-09
|
* buildRubyGem: strip by defaultAlyssa Ross2020-01-09
| | | | | | I'm not sure why this was disabled, but it looks like a pretty harmless way to bring down closure size and remove references to compilers and stuff.
* ruby-modules: parse build_flags correctly:Burke Libbey2019-12-17
| | | | | | | | In building a gem whose native extension is a Rakefile, the previous version of this code will call essentially `rake ""`, when it means to call `rake`. This change converts `""` into `[]` rather than `[""]`.
* treewide: Make still dont* Variables are optional in most casesJohn Ericson2019-11-01
| | | | | | | | | | Go beyond the obvious setup hooks now, with a bit of sed, with a skipped case: - cc-wrapper's `dontlink`, because it already is handled. Also, in nix files escaping was manually added. EMP
* ruby.withPackages: initMichael Fellinger2019-09-03
| | | | Co-authored-by: Alyssa Ross <hi@alyssa.is>
* ruby-modules/gem: fix path to git checkoutJustin Humm2019-04-03
| | | | | | | | | | In case of the gem type 'git', nix-bundle-install.rb was called with wrong path to the git checkout. ${src} does contain the sources, but not the newly generated .git dir, which is created in the buildPhase of pkgs/development/ruby-modules/gem/default.nix In some rare cases, this .git dir is needed at installPhase.
* (ruby-modules/gem): (refactor) (#53525)Judson Lester2019-03-29
| | | | | | | | | | | | | | | | | | | | | | * Changing leaveDotGit to git chacha on build * Removing debugging cruft * Simpler git handling * Can't clobber index after `add` * Update pkgs/development/ruby-modules/gem/default.nix Useful comments Co-Authored-By: nyarly <nyarly@users.noreply.github.com> * Update pkgs/development/ruby-modules/gem/default.nix Comments are useful Co-Authored-By: nyarly <nyarly@users.noreply.github.com>
* buildRubyGem: Provide manpages for Ruby gems (#49334)Michael Fellinger2018-10-29
|
* buildRubyGem: Make testing easierAneesh Agrawal2018-03-03
| | | | | | | Don't default `doCheck` to false, and use the default set of phases so the phases list does not need to be overriden in order to add checkPhase or installCheckPhase.
* ruby-modules: Add new url `source` typeAneesh Agrawal2018-01-04
| | | | | | | | | | This just defers to `fetchurl` for fetching. Additionally, update the `nix-bundle-install.rb` script to handle gems installed from a path, i.e. those with a `url` source. Some parts of that script have been disabled in the `path` case that likely shouldn't be, but cause errors and aren't necessary to get `vagrant` to work.
* ruby treewide: don't merge source into top-levelAneesh Agrawal2018-01-04
| | | | | | | | | | | Keep the `source` attrset distinct to prevent its entries from merging with the top level attrs. Since each type of source has a different set of entries for `source`, this is the easiest way to keep them together. This will pave the way for a new `url` type of source. This is a mass-rebuild of many ruby packages, notably those using `git` type sources.
* Current round of tests pass, but filter function is failing to include when ↵Judson2017-05-10
| | | | platform match in use.
* Current round of tests pass, but filter function is failing to include when ↵Judson2017-05-09
| | | | groups match in use.
* ruby: fixes rubygems user installszimbatm2016-10-02
| | | | | | | | | | * 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
* buildRubyGem: fixes gemspec UTF-8 loading issuezimbatm2016-09-06
| | | | | | | | | If a gemspec has UTF-8 characters in it, ruby will fail loading it with invalid multibyte char (US-ASCII) This change forces the encoding to be correct, we assume everyone now uses UTF-8.
* buildRubyGem: handle build-time ruby dependencieszimbatm2016-08-29
| | | | | | | | | | | | | | For some reason `gem install` unsets the GEM_PATH environment variable internally unless the install dir is provided. This in turn means that if it invokes extconf.rb and extconf.rb depends on a gem available on the GEM_PATH (like pkg-config for nokogiri) then it's not available in that context. Proof: https://github.com/rubygems/rubygems/blob/d8293c472966cb1de08784dfdd90560e56ceed84/lib/rubygems/commands/install_command.rb#L151 Blame: https://github.com/rubygems/rubygems/commit/9ea600c9c2b77d1459526fe1e2bcdf2ac778c24a This is a hack that sets the :install_dir to where we would install anyways (the GEM_HOME is the default installation destination).
* buildRubyGem: don't set the GEM_HOMEzimbatm2016-08-23
| | | | | | | | | | | bundler for example needs to have the GEM_HOME being passed trough to function properly. For gems that are loading content dynamically, or can use plugins, use buildRubyGem. For executables that are wrapped in their own sealed thing use bundlerEnv.
* buildRubyGem: fix buildFlags default attributezimbatm2016-07-21
| | | | | | | lib.escapeShellArgs doesn't work well when a null value is provided. [] is also the correct value since it's really just an empty list of arguments that we have.
* Escape all shell arguments uniformlyzimbatm2016-06-12
|
* move all ruby modules to development/ruby-moduleszimbatm2016-03-19