summary refs log tree commit diff
path: root/pkgs/development/ruby-modules/bundler-app/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ruby-modules/bundler-app/default.nix')
-rw-r--r--pkgs/development/ruby-modules/bundler-app/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/ruby-modules/bundler-app/default.nix b/pkgs/development/ruby-modules/bundler-app/default.nix
index d0ad56538b9..a269e719564 100644
--- a/pkgs/development/ruby-modules/bundler-app/default.nix
+++ b/pkgs/development/ruby-modules/bundler-app/default.nix
@@ -12,8 +12,9 @@
 {
   # use the name of the name in question; its version will be picked up from the gemset
   pname
-  # gemdir is the location of the Gemfile{,.lock} and gemset.nix; usually ./.
-, gemdir
+  # Gemdir is the location of the Gemfile{,.lock} and gemset.nix; usually ./.
+  # This is required unless gemfile, lockfile, and gemset are all provided
+, gemdir ? null
   # Exes is the list of executables provided by the gems in the Gemfile
 , exes ? []
   # Scripts are ruby programs depend on gems in the Gemfile (e.g. scripts/rails)