ruby bundlerApp: Allow passing gemConfig through to bundlerEnv
commit69017e46ae0aa522242f9365ca7d71e98a406596
authorJoe Hermaszewski <git@monoid.al>
dateMon 9 Apr 2018, 18:42 (9 years ago)
parent3458776
pkgs/development/ruby-modules/bundler-app/default.nix+2−1
@@ -26,12 +26,13 @@
2626, allowSubstitutes ? false
2727, meta ? {}
2828, postBuild ? ""
29+, gemConfig ? null
2930}@args:
3031
3132let
3233 basicEnv = (callPackage ../bundled-common {}) args;
3334
34− cmdArgs = removeAttrs args [ "pname" "postBuild" ]
35+ cmdArgs = removeAttrs args [ "pname" "postBuild" "gemConfig" ]
3536 // { inherit preferLocalBuild allowSubstitutes; }; # pass the defaults
3637in
3738 runCommand basicEnv.name cmdArgs ''