Commit Graph
85 Commits
Author SHA1 Message Date
Judson e149f02344 Using pname and fetching versions 2017-06-27 22:33:18 -07:00
Judson 70e7e543c5 A few cleanups and renames. One feature remains... 2017-06-27 10:56:36 -07:00
Judson 603e84caef Fixing an overload of "pname" 2017-06-25 17:40:22 -07:00
Judson fc302bc07f Not quite done - something fishy about the name attr 2017-06-10 17:38:49 -07:00
Judson dd86c6d25a Adding Corundum as demo of rubyTool 2017-06-10 17:11:37 -07:00
Judson 53481f8f0b Docs and extras on tool/ 2017-06-10 16:58:32 -07:00
Judson 964d9b7a06 Made gemdir handling into a common function 2017-06-09 09:04:33 -07:00
Judson 0bde4071fc Merge branch 'bundlerenv_usecases' of github.com:nyarly/nixpkgs into bundlerenv_usecases 2017-05-31 09:53:03 -07:00
Judson c4fc70f53c Starting to add tool builder. Extracting bundler file computation. 2017-05-31 09:44:46 -07:00
zimbatm 2b7cfdd6e9 fix missing variable in bundler-env 2017-05-29 13:27:41 +01:00
Judson e4bb4d4788 Cleaning out obsolete files 2017-05-27 15:22:06 -07:00
Judson 998d011e42 Restructuring files 2017-05-27 15:19:34 -07:00
Judson ae84d19e65 Final testing 2017-05-15 09:36:30 -07:00
Judson c39508b254 Fixed platform test. 2017-05-12 09:47:00 -07:00
Judson 56d214b0ea Fixed platform filtering. 2017-05-12 09:44:39 -07:00
Judson 07f781bd8d Current round of tests pass, but filter function is failing to include when platform match in use. 2017-05-10 10:00:21 -07:00
Judson 0145ec999c Current round of tests pass, but filter function is failing to include when groups match in use. 2017-05-09 09:39:20 -07:00
Judson 66fed6d28f Basically working. Checking against actual use cases. 2017-05-03 20:27:42 -07:00
Judson 2b414e1c15 Test harnesses 2017-05-01 09:07:42 -07:00
Judson b2065a2790 Merge remote-tracking branch 'nixos/master' into bundlerenv_usecases 2017-04-30 12:27:52 -07:00
Michael Raskin 4540123a0c Merge pull request #23471 from veprbl/jekyll
jekyll: 3.0.1 -> 3.4.1
2017-04-30 20:41:20 +02:00
Judson 89fda10d31 Starting decomposition of bundlerEnv 2017-04-24 18:45:00 -07:00
Nick Novitski 37b0be688d bundix: 2.0.8 -> 2.1.0 (#25129) 2017-04-23 13:13:50 +01:00
Maximilian Güntner d84029f296 ruby-modules: check tzinfo version
tzinfo 0.3.xx does not contain the file

lib/tzinfo/zoneinfo_data_source.rb

it is only included in the 1.x branch.

closes #24080
closes #24682
2017-04-11 10:44:54 +02:00
Judson ed77e113c5 Merge remote-tracking branch 'nixos/master' 2017-04-09 15:36:03 -07:00
Judson 7f6e8a1cd5 Adding "allBins" flag on bundlerEnv
The bin stubs need to be built where there's access to /nix/store - so
it can't happen in a nix-shell run. Ergo, a shell.nix needs to be able
to signal to the build that all bins need to be built.
2017-03-26 17:32:30 -07:00
Andrzej Trzaska 376d960034 bundler: 1.14.4 -> 1.14.6 (#23930) 2017-03-15 20:34:35 +00:00
Jörg Thalheim b10fb4624b xapian-ruby: link against correct xapian 2017-03-06 20:24:07 +01:00
Dmitry Kalinkin 212340bc6b jekyll: set proper permissions on new site
Fixes #22858
2017-03-03 23:05:37 -05:00
Dmitry Kalinkin 0832addf67 jekyll: fix 'jekyll new'
Original error:

$ nix-shell -p jekyll --command "jekyll new test"
Running bundle install in /private/tmp/test...
  Bundler: There was an error while trying to write to
  Bundler:
`/nix/store/l67429rhvrmr7c4c1msb7s8zjq4fx7ad-gemfile-and-lockfile/.bundle/config`.
  Bundler: It is likely that you need to grant write permissions for
that path.
2017-03-03 21:47:58 -05:00
Judson 0481a33d21 Simplifying interface on gemset.nix slightly.
`usesGemspec` no longer required to trigger the "copy everything into
gemfile-and-lock" behavior. If the mainGem is referred to by path,
that's sufficient.
2017-02-20 21:03:44 -08:00
Judson 3c9941114f Need to handle "null" mainGems
Not every gem package uses pname, nor should it.
2017-02-19 10:51:35 -08:00
Judson 2b9c7b4268 Merge remote-tracking branch 'nixos/master' 2017-02-19 10:22:55 -08:00
Judson c765f680e3 Updates to bundlerEnv 2017-02-19 10:18:54 -08:00
Peter Hoeg facb2c0483 bundler: 1.14.3 -> 1.14.4 2017-02-17 22:48:39 +08:00
Peter Hoeg d1b8b0dd52 bundler: 1.13.7 -> 1.14.3 (#22260) 2017-01-29 22:42:17 +00:00
Ryan Mulligan 605ec66342 bundler: 1.13.6 -> 1.13.7 2017-01-09 10:13:38 -08:00
Maximilian Güntner 4f57a25e62 gem-config: add lxc as a dependency for ruby-lxc
Signed-off-by: Maximilian Güntner <code@klandest.in>
2016-12-18 20:10:34 +01:00
Maximilian Güntner dec91d3b19 gem-config: add postgresql buildInput for sequel_pg (#20981)
Signed-off-by: Maximilian Güntner <code@klandest.in>
2016-12-16 11:36:05 +01:00
Graham Christensen 5cc4f50442 Merge pull request #20113 from johbo/ruby-scrypt-darwin
Adjust ruby gem defaults for scrypt on darwin
2016-11-27 21:58:17 -05:00
Michael Fellinger 0755d4becb gem-config: add uuid4r (#20603) 2016-11-21 12:41:05 +00:00
Ryan Mulligan 936db422f9 add defaultConfig for mysql ruby gem
The mysql gem needs the same libraries as the mysql2 gem.
2016-11-03 17:19:25 -07:00
Johannes Bornhold 4f01beb531 Adjust ruby gem defaults for scrypt on darwin
Without the adjustment I was not able to build scrypt. It was failing
because of missing symbols due to the parameter '-arch i386' being
appended to the clang calls.
2016-11-03 01:29:03 +01:00
Venkateswara Rao Mandela 219b9d5086 ruby-zoom: init at 4.1.0
From the website,

https://gitlab.com/mjwhitta/zoom

Zoom adds some convenience to ag/ack/grep by allowing you to quickly
open your search results in your editor of choice.

Also available as a ruby gem.

https://rubygems.org/gems/ruby-zoom

In addition to including the ruby-zoom tool, we also added a global
override for the ruby-terminfo gem to handle the ncurses build time
dependency.
2016-10-26 17:26:26 +05:30
Peter Hoeg cd11efb651 bundler: 1.13.1 -> 1.13.6 2016-10-24 23:17:23 +08:00
zimbatm 2a194746a5 bundlerEnv: refactor
Add `pname` attribute: if passed, the derivation name defaults to the
gem name + version and only expose the gem's bin.

Add `gemdir` attribute: gives a default lookup path for the Gemfile,
Gemfile.lock and gemset.nix.

Set the `meta.platforms' to `ruby.meta.platforms' by default.
2016-10-08 22:38:56 +01:00
zimbatm b8bcbec5fd 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
2016-10-02 22:07:22 +01:00
zimbatm 659803f8c5 Merge pull request #18920 from peterhoeg/bundler
bundler: 1.12.5 -> 1.13.1
2016-09-24 13:41:16 +01:00
Michael Fellinger c0bb2549b4 gem-config: add snappy 2016-09-21 14:29:12 +02:00
Peter Hoeg 73e4f644d0 bundler: 1.12.5 -> 1.13.1 2016-09-20 15:55:19 +08:00