about summary refs log tree commit diff
path: root/pkgs/development/ruby-modules/gem
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2016-07-21 11:42:28 +0100
committerzimbatm <zimbatm@zimbatm.com>2016-07-21 11:46:16 +0100
commit838781ce8a2dc1f62689f2840ce45812862443a5 (patch)
treeb61cfe814e10bb6c5a194d20cfe79404b53abdb7 /pkgs/development/ruby-modules/gem
parentc31ae2ae8aec6631b381bcdac81fec9a0baae8ca (diff)
downloadnixlib-838781ce8a2dc1f62689f2840ce45812862443a5.tar
nixlib-838781ce8a2dc1f62689f2840ce45812862443a5.tar.gz
nixlib-838781ce8a2dc1f62689f2840ce45812862443a5.tar.bz2
nixlib-838781ce8a2dc1f62689f2840ce45812862443a5.tar.lz
nixlib-838781ce8a2dc1f62689f2840ce45812862443a5.tar.xz
nixlib-838781ce8a2dc1f62689f2840ce45812862443a5.tar.zst
nixlib-838781ce8a2dc1f62689f2840ce45812862443a5.zip
buildRubyGem: fix buildFlags default attribute
lib.escapeShellArgs doesn't work well when a null value is provided.

[] is also the correct value since it's really just an empty list of
arguments that we have.
Diffstat (limited to 'pkgs/development/ruby-modules/gem')
-rw-r--r--pkgs/development/ruby-modules/gem/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ruby-modules/gem/default.nix b/pkgs/development/ruby-modules/gem/default.nix
index 74dc64000c0f..8015fb1f6d01 100644
--- a/pkgs/development/ruby-modules/gem/default.nix
+++ b/pkgs/development/ruby-modules/gem/default.nix
@@ -48,7 +48,7 @@ lib.makeOverridable (
 , dontBuild ? true
 , propagatedBuildInputs ? []
 , propagatedUserEnvPkgs ? []
-, buildFlags ? null
+, buildFlags ? []
 , passthru ? {}
 , ...} @ attrs: