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; };