Commit Graph

199 Commits

Author SHA1 Message Date
Charles Strahan
9eedf0f218 simplify expressions 2014-10-27 22:13:36 +00:00
Alexander Flatter
b4c81a1f15 importGems now accepts an attrset 2014-10-27 21:55:13 +00:00
Alexander Flatter
5b928301c1 Expose gems when using loadRubyEnv 2014-10-27 21:55:12 +00:00
Alexander Flatter
4d3932a29e loadRubyEnv instantiates sources 2014-10-27 21:55:12 +00:00
Alexander Flatter
2cb31d576a Improve buildRubyGem 2014-10-27 21:55:12 +00:00
Alexander Flatter
f4d5fa4da6 importGems doesn't crash if gemOverrides not given 2014-10-27 21:55:12 +00:00
Alexander Flatter
3b59fbd608 WIP 2014-10-27 21:55:12 +00:00
Alexander Flatter
c786da0569 importGems now reads attrsets instead of derivations 2014-10-27 21:55:12 +00:00
Charles Strahan
3e499b7b65 silence rm failures 2014-10-27 21:55:12 +00:00
Charles Strahan
6863853879 fixup gem install flags 2014-10-27 21:55:12 +00:00
Charles Strahan
11903c4c10 ruby: expose RUBY_ENGINE, include teeny version in paths 2014-10-27 21:55:11 +00:00
Joel Taylor
c05e0602ca fix self refs 2014-10-27 21:55:11 +00:00
Joel Taylor
0ee5695bd4 properly fix patching 2014-10-27 21:55:11 +00:00
Joel Taylor
efa528a415 also recursively patch "self" 2014-10-27 21:55:11 +00:00
Joel Taylor
e5783d017d don't forget: patch gems in gems.nix too! 2014-10-27 21:55:11 +00:00
Joel Taylor
820ae58ba5 inherit the correct rake in buildRubyGem
this avoids accidentally depending on Ruby 1.9.3's rake for *every* gem
2014-10-27 21:55:11 +00:00
Joel Taylor
8c072a33a1 update patch comments 2014-10-27 21:55:11 +00:00
Joel Taylor
020b204767 remove depsPath 2014-10-27 21:55:11 +00:00
Joel Taylor
4a5e725a00 patch logic 2014-10-27 21:55:10 +00:00
Joel Taylor
9c8c4c8655 reorder gem phases 2014-10-27 21:55:10 +00:00
Joel Taylor
05238cd353 call patches with the right nix 2014-10-27 21:55:10 +00:00
Joel Taylor
f14f73da76 ruby updates 2014-10-27 21:55:04 +00:00
Joel Taylor
081343f099 gem build updates 2014-10-26 17:34:52 +00:00
Joel Taylor
763975d2cf ruby-dotenv 2014-10-26 17:34:52 +00:00
Joel Taylor
37640cca9f terminal-notifier 2014-10-26 17:34:52 +00:00
Joel Taylor
321ee119a8 more gem improvements 2014-10-26 17:34:52 +00:00
Joel Taylor
289b7e5068 further improvements to patches and build process 2014-10-26 17:34:52 +00:00
Joel Taylor
2dedbe6bbe correctly implement patching 2014-10-26 17:34:10 +00:00
Joel Taylor
1edaff1a2a include patches 2014-10-26 17:34:10 +00:00
Joel Taylor
c694425a03 allow importGems to override cp args 2014-10-26 17:34:10 +00:00
Joel Taylor
e9328fa7c3 stop using gross dependency resolution 2014-10-26 17:34:10 +00:00
Joel Taylor
3026d8833d add libs to GEM_PATH 2014-10-26 17:34:10 +00:00
Joel Taylor
cfff6e8c82 some improvements 2014-10-26 17:34:10 +00:00
Joel Taylor
794740b7e3 pleasant ruby 2014-10-26 17:34:10 +00:00
Charles Strahan
7231b95f4f Ruby: 2.1.3 and Fiddle support
This packages Ruby 2.1.3, and adds Fiddle support for all 2.x versions.

closes #4656
2014-10-26 04:48:09 +00:00
James Cook
d2c0011c2f ruby: Fix build on systems with store optimisation. Closes #4273. #4266 promises a better fix.
(The build process attempted to copy file a overwriting file b, where a
and b are hard-linked, which results in cp returning a non-zero exit
code.)
https://github.com/NixOS/nixpkgs/issues/4266
2014-10-25 06:13:16 +03:00
Jaka Hudoklin
aa7147c31b rubyLibs: add heroku client 2014-09-22 01:57:01 +02:00
Charles Strahan
e38d7cbfb2 Fix the new Ruby interpreters (fixes #3509).
Ruby >= 2.1.0 will try to download config.{sub,guess} if not already present.
This provides both files in a pure manner, and also deletes the download script
to prevent any future confusion.
2014-09-18 11:43:16 -04:00
Cillian de Róiste
a84c2d4357 Re-add rubyLibs.jekyll closes #4096 2014-09-16 15:31:29 +02:00
Jaka Hudoklin
bfa3b28590 rubyLibs: fix bundler 2014-09-16 10:28:04 +02:00
Jaka Hudoklin
782c85ad27 rubyLibs: add compass, regenerate 2014-09-16 10:28:04 +02:00
Charles Strahan
c27a653bba improve ruby support
* add the 2.1.x versions
* include teeny version in passthru
* by default, apply the same patches used by RVM
* clean up file names and attribute names
2014-09-15 23:54:17 -04:00
William A. Kennington III
3141ce3e15 gems: Add rdoc, execjs, uglifier 2014-09-11 15:41:45 -07:00
Domen Kožar
3f441d82f9 rubyLibs: add erubis and yajl 2014-09-12 00:31:37 +02:00
Domen Kožar
aa162b388d package gim-nix and document it 2014-09-12 00:26:51 +02:00
Michael Fellinger
57b667fe65 ruby: add version 2.1.2 2014-08-31 13:24:10 +01:00
Domen Kožar
bce42c282a rubyLibs.nokogiri: fix build 2014-08-24 18:33:47 +02:00
Michael Raskin
ede8be9281 Fix tarball evaluation; had to regenerate Ruby gem list 2014-08-24 12:55:08 +04:00
Rickard Nilsson
52b53dc370 ruby gems: Add riemann-dash 2014-08-23 12:41:49 +02:00
Bjørn Forsman
f0be5119d9 ruby/patches.nix: sort attributes alphabetically
And remove trailing whitespace.
2014-02-01 19:56:54 +01:00