From ebc4a417d0be3853577d095f25947563bea405e1 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sun, 28 Jul 2019 15:52:54 +0200 Subject: [PATCH] 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. --- pkgs/development/ruby-modules/bundler-app/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/ruby-modules/bundler-app/default.nix b/pkgs/development/ruby-modules/bundler-app/default.nix index f8843c61582..10ddde0c1ff 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;