ruby bundlerApp: Allow passing gemConfig through to bundlerEnv
This commit is contained in:
parent
3458776bb1
commit
69017e46ae
@ -26,12 +26,13 @@
|
|||||||
, allowSubstitutes ? false
|
, allowSubstitutes ? false
|
||||||
, meta ? {}
|
, meta ? {}
|
||||||
, postBuild ? ""
|
, postBuild ? ""
|
||||||
|
, gemConfig ? null
|
||||||
}@args:
|
}@args:
|
||||||
|
|
||||||
let
|
let
|
||||||
basicEnv = (callPackage ../bundled-common {}) args;
|
basicEnv = (callPackage ../bundled-common {}) args;
|
||||||
|
|
||||||
cmdArgs = removeAttrs args [ "pname" "postBuild" ]
|
cmdArgs = removeAttrs args [ "pname" "postBuild" "gemConfig" ]
|
||||||
// { inherit preferLocalBuild allowSubstitutes; }; # pass the defaults
|
// { inherit preferLocalBuild allowSubstitutes; }; # pass the defaults
|
||||||
in
|
in
|
||||||
runCommand basicEnv.name cmdArgs ''
|
runCommand basicEnv.name cmdArgs ''
|
||||||
|
Loading…
Reference in New Issue
Block a user