From 838781ce8a2dc1f62689f2840ce45812862443a5 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Thu, 21 Jul 2016 11:42:28 +0100 Subject: [PATCH] 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. --- pkgs/development/ruby-modules/gem/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/ruby-modules/gem/default.nix b/pkgs/development/ruby-modules/gem/default.nix index 74dc64000c0..8015fb1f6d0 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: