summary refs log tree commit diff
path: root/pkgs/development/ruby-modules
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-07-28 15:52:54 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2019-08-19 13:46:52 +0200
commitebc4a417d0be3853577d095f25947563bea405e1 (patch)
treeacd68632a9ef3b50059aeaa94695989192f1ae73 /pkgs/development/ruby-modules
parent0ad3568114382c0f50e83a13991370a13a6aab06 (diff)
ruby/bundlerApp: ignore `gemset` in env attribute set
The `gemset` field can be an attribute set as well in `buildRubyGem`,
however attribute sets can't be coerced to strings for the environment
set.

The impact should be relatively small as the environment variables are
only used by the `runCommand` script for `bunlderApp` which doesn't
refer to `gemset` at all.
Diffstat (limited to 'pkgs/development/ruby-modules')
-rw-r--r--pkgs/development/ruby-modules/bundler-app/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ruby-modules/bundler-app/default.nix b/pkgs/development/ruby-modules/bundler-app/default.nix
index f8843c6158212..10ddde0c1ff11 100644
--- a/pkgs/development/ruby-modules/bundler-app/default.nix
+++ b/pkgs/development/ruby-modules/bundler-app/default.nix
@@ -36,7 +36,7 @@
 let
   basicEnv = (callPackage ../bundled-common {}) args;
 
-  cmdArgs = removeAttrs args [ "pname" "postBuild" "gemConfig" "passthru" ] // {
+  cmdArgs = removeAttrs args [ "pname" "postBuild" "gemConfig" "passthru" "gemset" ] // {
     inherit preferLocalBuild allowSubstitutes; # pass the defaults
 
     buildInputs = buildInputs ++ lib.optional (scripts != []) makeWrapper;