ruby_2_0: disable format hardening
This commit is contained in:
parent
0751027b31
commit
c22c137c6c
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,7 @@ let
|
|||
then version
|
||||
else versionNoPatch;
|
||||
tag = "v" + stdenv.lib.replaceChars ["." "p" "-"] ["_" "_" ""] fullVersionName;
|
||||
isRuby20 = majorVersion == "2" && minorVersion == "0";
|
||||
isRuby21 = majorVersion == "2" && minorVersion == "1";
|
||||
baseruby = self.override { useRailsExpress = false; };
|
||||
self = lib.makeOverridable (
|
||||
|
@ -81,6 +82,8 @@ let
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
hardeningDisable = lib.optional isRuby20 [ "format" ];
|
||||
|
||||
patches =
|
||||
[ ./gem_hook.patch ] ++
|
||||
(import ./patchsets.nix {
|
||||
|
|
Loading…
Reference in a new issue