From 250f3feec2c3153c0f9a2e5cf723428166620c0f Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sat, 5 Nov 2016 08:09:26 +0100 Subject: [PATCH] python-lxml: fix build on darwin by disabling format hardening --- pkgs/top-level/python-packages.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1c6acd3ddd9..51d9647b929 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13650,6 +13650,8 @@ in { buildInputs = with self; [ pkgs.libxml2 pkgs.libxslt ]; + hardeningDisable = stdenv.lib.optional stdenv.isDarwin "format"; + meta = { description = "Pythonic binding for the libxml2 and libxslt libraries"; homepage = http://lxml.de; @@ -13668,6 +13670,8 @@ in { buildInputs = with self; [ pkgs.libxml2 pkgs.libxslt ]; + hardeningDisable = stdenv.lib.optional stdenv.isDarwin "format"; + meta = { description = "Pythonic binding for the libxml2 and libxslt libraries"; homepage = http://lxml.de;