From 9a8a9c43b48afa670273a2276de6d8134297c095 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Tue, 19 Apr 2016 12:21:06 +0000 Subject: [PATCH] haskellPackages.pango: turn off fortify hardening --- pkgs/development/haskell-modules/configuration-common.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 2e4b53d415b..1cbda56844b 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -43,9 +43,14 @@ self: super: { options = dontCheck super.options; statistics = dontCheck super.statistics; c2hs = dontCheck super.c2hs; + + # fix errors caused by hardening flags epanet-haskell = super.epanet-haskell.overrideDerivation (drv: { hardeningDisable = [ "format" ]; }); + pango = super.pango.overrideDerivation (drv: { + hardeningDisable = [ "fortify" ]; + }); # Use the default version of mysql to build this package (which is actually mariadb). mysql = super.mysql.override { mysql = pkgs.mysql.lib; };