db4: turn off format hardening

This commit is contained in:
Robin Gloster 2016-02-07 16:20:07 +00:00
parent 6b1aabc01c
commit 89316e726c
2 changed files with 4 additions and 2 deletions

View File

@ -5,4 +5,5 @@ import ./generic.nix (args // rec {
extraPatches = [ ./clang-4.8.patch ];
sha256 = "0ampbl2f0hb1nix195kz1syrqqxpmvnvnfvphambj7xjrl3iljg0";
branch = "4.8";
drvArgs = { hardening_format = false; };
})

View File

@ -7,9 +7,10 @@
, extraPatches ? [ ]
, license ? stdenv.lib.licenses.sleepycat
, branch ? null
, drvArgs ? {}
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (rec {
name = "db-${version}";
src = fetchurl {
@ -42,4 +43,4 @@ stdenv.mkDerivation rec {
platforms = platforms.unix;
branch = branch;
};
}
} // drvArgs)