summaryrefslogtreecommitdiff
path: root/pkgs/development/ruby-modules
AgeCommit message (Collapse)Author
2018-12-11bundlerEnv: always include default gemsAlyssa Ross
"default" isn't really a group, it's more the absence of one. With Bundler, this means that a gem should be installed unconditionally, regardless of which groups are specified. It doesn't really make sense to allow these gems to be omitted from a bundlerEnv.
2018-12-11bundlerEnv: include all groups by defaultAlyssa Ross
This wasn't really an issue until the latest minor release of Bundix (2.4), because prior to then Bundix didn't emit group attributes, and so this functionality of bundlerEnv wasn't really used. However, it is now apparent that a better default for bundlerEnv would be to include all gem groups by default, not just the default group. This matches the behavior of Bundler, and makes more sense, because the default group alone isn't necessarily useful for anything -- consider a Rails app with production, development, and test groups. It has the additional benefit of being backwards compatible with how this would have worked before the Bundix update.
2018-12-11bundlerEnv: ensure dependencies always includedAlyssa Ross
Suppose I have a Gemfile like this: source "https://rubygems.org" gem "actioncable" gem "websocket-driver", group: :test The gemset.nix generated by Bundix 2.4.1 will set ActionCable's groups to [ "default" ], and websocket-driver's to [ "test" ]. This means that the generated bundlerEnv wouldn't include websocket-driver unless the test group was included, even though it's required by the default group. This is arguably a bug in Bundix (websocket-driver's groups should probably be [ "default" "test" ] or just [ "default" ]), but there's no reason bundlerEnv should omit dependencies even given such an input -- it won't necessarily come from Bundix, and it would be good for bundlerEnv to do the right thing. To fix this, filterGemset is now a recursive function, that adds dependencies of gems in the group to the filtered gemset until it stabilises on the gems that match the required groups, and all of their recursive dependencies.
2018-12-08Merge master into staging-nextFrederik Rietdijk
2018-12-07bundix: 2.4.0 -> 2.4.1 (#51660)zimbatm
fixes #51656
2018-12-03Merge master into staging-nextFrederik Rietdijk
2018-12-02gobject-introspection: rename packageJan Tojnar
camelCase package name was a huge inconsistency in GNOME package set.
2018-12-02solargraph: 0.28.2 -> 0.29.1worldofpeace
2018-11-30gem-config: Add missing dependencies for gio and gtk2midchildan
2018-11-29Merge master into staging-nextFrederik Rietdijk
2018-11-28xcpretty: init at 0.3.0 (#48494)Nick Novitski
2018-11-27bundix: 2.3.1 -> 2.4.0 (#51146)zimbatm
2018-11-26Merge branch 'master' into staging-nextVladimír Čunát
2018-11-25Bugfix: gemsets didn't handle paths correctly (#51002)Judson Lester
2018-11-18Merge staging-next into stagingFrederik Rietdijk
2018-11-15bundler: 1.16.4 -> 1.17.1Alyssa Ross
2018-11-11Merge staging-next into stagingFrederik Rietdijk
2018-11-09Merge pull request #49817 from alyssais/rack_cveJörg Thalheim
rack: 1.6.* -> 1.6.11, 2.0.* -> 2.0.6 (CVE-2018-16470, CVE-2018-16471)
2018-11-09metasploit-framework: fix buildJörg Thalheim
> /nix/store/r2vsi140pys7jnzyk0qz1fj9aji6sq40-ruby2.5.3-rb-readline-0.5.5/lib/ruby/gems/2.5.0/gems/rb-readline-0.5.5/lib/rbreadline.rb:1097:in `<module:RbReadline>': HOME environment variable (or HOMEDRIVE and HOMEPATH) must be set and point to a directory (RuntimeError)
2018-11-08gem-config: add iconv (#49910)Marwan Aljubeh
2018-11-06treewide: Fix packages using name where they should use pnamePatrick Hilhorst
2018-10-29bundlerApp: take buildInputs (#45435)Alyssa Ross
It would be reasonable to have a Ruby program that depends on some other program being in the PATH. In this case, the obvious thing to do would be something like this: bundlerApp { # ... buildInputs = [ makeWrapper ]; postBuild = '' wrapProgram "$out/bin/foo" \ --prefix PATH : ${lib.makeBinPath [ dep ]} ''; } However, this doesn't work, because even though it just forwards most of its arguments to `runCommand`, `bundlerApp` won't take a `buildInputs` parameter. It doesn't even specify its own `buildInputs`, which means that the `scripts` parameter to `bundlerApp` (which depends on `makeWrapper`) is completely broken, and, as far as I can tell, has been since its inception. I've added a `makeWrapper` build input if the scripts parameter is present to fix this. I've added a `buildInputs` option to `bundlerApp`. It's also passed through to bundled-common because `postBuild` scripts are run there as well. This actually means that in this example we'd end up going through two layers of wrappers (one from `bundlerApp` and one from bundled-common), but that has always been the case and isn't likely to break anything. That oddity does suggest that it might be prudent to not forward `postBuild` to bundled-common (or to at least use a different option) though... FWIW, as far as I can tell no package in nixpkgs uses either the `scripts` or `postBuild` options to `bundlerApp`.
2018-10-29buildRubyGem: Provide manpages for Ruby gems (#49334)Michael Fellinger
2018-10-23gem-config: capybara-webkit: qt48 -> qt59Alyssa Ross
> WARNING: The next major version of capybara-webkit will require at > least version 5.0 of Qt. You're using version 4.8.7. I went to 5.9 instead of 5.11 because 5.11 doesn't currently build on Darwin, whereas 5.9 can build on both Darwin and Linux, and is still well within the >=5.0 requirement.
2018-10-23gem-config: set libmagic for magicMaximilian Güntner
2018-10-17bundler: 1.16.3 -> 1.16.6Alyssa Ross
2018-10-11gem-config: add sassc (#48212)Alyssa Ross
2018-10-06solargraph: 0.28.1 -> 0.28.2 (#47944)worldofpeace
2018-09-23solargraph: 0.27.1 -> 0.28.1 (#47242)worldofpeace
2018-09-16solargraph: 0.25.1 -> 0.27.1worldofpeace
2018-08-30reewide: Purge all uses `stdenv.system` and top-level `system`John Ericson
It is deprecated and will be removed after 18.09.
2018-08-26solargraph: 0.23.6 -> 0.25.1worldofpeace
2018-08-18msgpack: rename from libmsgpackOrivej Desh
The project does not use the name "libmsgpack". It variously uses "msgpack" and "msgpack-c", and "msgpackc" for the name of the library.
2018-08-16Merge pull request #44098 from alyssais/capybara-webkitJörg Thalheim
gem-config: fix capybara-webkit on Darwin
2018-08-15gem-config: add curses (#45068)Alyssa Ross
2018-08-05solargraph: 0.23.3 -> 0.23.6 (#44480)worldofpeace
2018-08-03bundler: 1.16.2 -> 1.16.3Alyssa Ross
2018-07-26gem-config: add libxml2-ruby (#44099)Alyssa Ross
2018-07-26gem-config: add zookeeper (#44100)Alyssa Ross
2018-07-25gem-config: fix capybara-webkit on DarwinAlyssa Ross
2018-07-21Merge branch 'master' into unused5Jörg Thalheim
2018-07-21undo: try for zero rebuild on ofborgvolth
2018-07-21pkgs/*: remove unreferenced function argumentsvolth
2018-07-20[bot] treewide: remove unused 'args@' in lambdasvolth
2018-07-20[bot]: remove unreferenced codevolth
2018-07-09solargraph: 0.22.0 -> 0.23.3worldofpeace
2018-07-02bundler: 1.16.1 -> 1.16.2Alyssa Ross
2018-06-27Adding config for the tiny_tds gem (#42406)Judson Lester
2018-06-15gem-config: add fog-dnsimple, redis-rack, ffi-rzmq-core, mini_magick (#42055)Michael Fellinger
2018-06-09solargraph: 0.21.1 -> 0.22.0 (#41743)worldofpeace