nixpkgs/pkgs/development
Alyssa Ross 67b1265fb3
bundlerEnv: ensure dependencies always included
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-11 21:26:07 +00:00
..
arduino platformio: 3.6.1 -> 3.6.2 2018-12-11 16:37:07 +08:00
beam-modules
bower-modules/generic
compilers Merge master into staging-next 2018-12-08 12:40:13 +01:00
coq-modules coqPackages.simple-io: init at 0.2 2018-12-10 15:35:34 +00:00
dhall-modules
dotnet-modules/patches
em-modules/generic
go-modules go_1_11: fix cross compilation 2018-11-24 10:36:57 +00:00
guile-modules Treewide: use HTTPS on GNU domains 2018-12-02 15:51:59 +01:00
haskell-modules Merge master into staging-next 2018-12-07 15:22:35 +01:00
idris-modules
interpreters php: fix build php 7.3 in Darwin 2018-12-11 20:11:30 +01:00
java-modules
libraries Merge pull request #51851 from veprbl/pr/rivet_bump 2018-12-11 12:49:48 +01:00
lisp-modules Add cl-jpeg, cl-pdf & cl-typesetting, no extra external deps 2018-12-05 07:01:40 +01:00
lua-modules
misc systems/parse.nix: support eabihf 2018-12-02 19:49:36 -06:00
mobile
node-packages nodePackages: Regenerate and fix azure-cli 2018-12-10 11:46:46 +01:00
ocaml-modules ocamlPackages.checkseum: init at 0.0.3 2018-12-11 08:12:27 +00:00
perl-modules perlPackages: remove old broken packets 2018-11-27 08:11:10 +00:00
pharo
pure-modules
python-modules pythonPackages.robotframework-selenium2library: 1.6.0 -> 3.0.0 2018-12-11 09:10:00 -05:00
r-modules rstudioWrapper: include desktop file 2018-12-07 16:44:01 -05:00
ruby-modules bundlerEnv: ensure dependencies always included 2018-12-11 21:26:07 +00:00
tools sbt-extras: 2018-09-27 -> 2018-12-04 2018-12-10 12:56:39 -05:00
web nodejs.updateScript: fix evaluation 2018-12-03 00:49:37 +00:00