Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b046ebbb7ccaa023f874f6359ad60441ac00f241
      
https://github.com/NixOS/nixpkgs/commit/b046ebbb7ccaa023f874f6359ad60441ac00f241
  Author: zimbatm <[email protected]>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M pkgs/development/interpreters/ruby/rubygems-src.nix

  Log Message:
  -----------
  rubygems: 2.6.2 -> 2.6.6


  Commit: a7cf555e2a744403817bfe2647c030eaa2cd66c7
      
https://github.com/NixOS/nixpkgs/commit/a7cf555e2a744403817bfe2647c030eaa2cd66c7
  Author: zimbatm <[email protected]>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M pkgs/development/ruby-modules/gem/default.nix

  Log Message:
  -----------
  buildRubyGem: handle build-time ruby dependencies

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).


  Commit: f1035132f31c8b5f3478f4654d5a4d1768117440
      
https://github.com/NixOS/nixpkgs/commit/f1035132f31c8b5f3478f4654d5a4d1768117440
  Author: zimbatm <[email protected]>
  Date:   2016-09-01 (Thu, 01 Sep 2016)

  Changed paths:
    M pkgs/development/interpreters/ruby/rubygems-src.nix
    M pkgs/development/ruby-modules/gem/default.nix

  Log Message:
  -----------
  Merge pull request #18099 from zimbatm/nokogiri-fixup

Nokogiri fixup


Compare: https://github.com/NixOS/nixpkgs/compare/56c6b4365f21...f1035132f31c
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to