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.
commitebc4a417d0be3853577d095f25947563bea405e1
authorMaximilian Bosch <maximilian@mbosch.me>
dateSun 28 Jul 2019, 15:52 (7 years ago)
parent0ad3568
pkgs/development/ruby-modules/bundler-app/default.nix+1−1
@@ -36,7 +36,7 @@
3636let
3737 basicEnv = (callPackage ../bundled-common {}) args;
3838
39− cmdArgs = removeAttrs args [ "pname" "postBuild" "gemConfig" "passthru" ] // {
39+ cmdArgs = removeAttrs args [ "pname" "postBuild" "gemConfig" "passthru" "gemset" ] // {
4040 inherit preferLocalBuild allowSubstitutes; # pass the defaults
4141
4242 buildInputs = buildInputs ++ lib.optional (scripts != []) makeWrapper;