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.
This commit is contained in:
parent
0ad3568114
commit
ebc4a417d0
@ -36,7 +36,7 @@
|
|||||||
let
|
let
|
||||||
basicEnv = (callPackage ../bundled-common {}) args;
|
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
|
inherit preferLocalBuild allowSubstitutes; # pass the defaults
|
||||||
|
|
||||||
buildInputs = buildInputs ++ lib.optional (scripts != []) makeWrapper;
|
buildInputs = buildInputs ++ lib.optional (scripts != []) makeWrapper;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user