mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
ruby bundlerApp: Allow passing gemConfig through to bundlerEnv
This commit is contained in:
parent
3458776bb1
commit
69017e46ae
1 changed files with 2 additions and 1 deletions
|
@ -26,12 +26,13 @@
|
|||
, allowSubstitutes ? false
|
||||
, meta ? {}
|
||||
, postBuild ? ""
|
||||
, gemConfig ? null
|
||||
}@args:
|
||||
|
||||
let
|
||||
basicEnv = (callPackage ../bundled-common {}) args;
|
||||
|
||||
cmdArgs = removeAttrs args [ "pname" "postBuild" ]
|
||||
cmdArgs = removeAttrs args [ "pname" "postBuild" "gemConfig" ]
|
||||
// { inherit preferLocalBuild allowSubstitutes; }; # pass the defaults
|
||||
in
|
||||
runCommand basicEnv.name cmdArgs ''
|
||||
|
|
Loading…
Reference in a new issue