From aafa2db61aeeb8e6af5fe1c0ebafca4e367e0280 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sat, 18 Sep 2021 10:58:24 +0000 Subject: bundlerEnv: fix documentation argument This was ignored before. Now that it's passed through, it's possible to do (bundlerEnv { name = "..."; gemdir = ./.; document = [ "ri" ]; }).env and get an environment where ri can be used to read gem documentation. --- pkgs/development/ruby-modules/bundled-common/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/development/ruby-modules') diff --git a/pkgs/development/ruby-modules/bundled-common/default.nix b/pkgs/development/ruby-modules/bundled-common/default.nix index 65416d9295b..70afd412f3e 100644 --- a/pkgs/development/ruby-modules/bundled-common/default.nix +++ b/pkgs/development/ruby-modules/bundled-common/default.nix @@ -38,7 +38,7 @@ let filteredGemset = filterGemset { inherit ruby groups; } importedGemset; configuredGemset = lib.flip lib.mapAttrs filteredGemset (name: attrs: - applyGemConfigs (attrs // { inherit ruby; gemName = name; }) + applyGemConfigs (attrs // { inherit ruby document; gemName = name; }) ); hasBundler = builtins.hasAttr "bundler" filteredGemset; -- cgit 1.4.1