bundlerEnv: always include default gems

"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.
This commit is contained in:
Alyssa Ross 2018-12-11 21:22:45 +00:00
parent 83a2d993d4
commit 26053cae74
No known key found for this signature in database
GPG Key ID: C4844408C0657052

View File

@ -52,7 +52,7 @@ in rec {
groupMatches = groups: attrs:
groups == null || !(attrs ? "groups") ||
(intersectLists groups attrs.groups) != [];
(intersectLists (groups ++ [ "default" ]) attrs.groups) != [];
applyGemConfigs = attrs:
(if gemConfig ? "${attrs.gemName}"