# HG changeset patch # User Johannes Bornhold # Date 2016-10-06 11:46:04 # Node ID e21444cc7a8263f9bbfa91c26d25f5b0f8c41746 # Parent b9b94af513e750ddebf9081bd3b395051e19216e packaging: Tweak for darwin based development, 16.09 diff --git a/pkgs/python-packages-overrides.nix b/pkgs/python-packages-overrides.nix --- a/pkgs/python-packages-overrides.nix +++ b/pkgs/python-packages-overrides.nix @@ -64,6 +64,9 @@ self: super: { }); lxml = super.lxml.override (attrs: { + # johbo: On 16.09 we need this to compile on darwin, otherwise compilation + # fails on Darwin. + hardeningDisable = if pkgs.stdenv.isDarwin then [ "format" ] else null; buildInputs = with self; [ pkgs.libxml2 pkgs.libxslt