diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2019-07-28 15:52:54 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2019-08-19 13:46:52 +0200 |
commit | ebc4a417d0be3853577d095f25947563bea405e1 (patch) | |
tree | acd68632a9ef3b50059aeaa94695989192f1ae73 /pkgs/development/ruby-modules | |
parent | 0ad3568114382c0f50e83a13991370a13a6aab06 (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.nix | 2 |
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; |