diff --git a/pkgs/development/python-modules/lxml/default.nix b/pkgs/development/python-modules/lxml/default.nix index 816b3a676828..fca4366e8a0e 100644 --- a/pkgs/development/python-modules/lxml/default.nix +++ b/pkgs/development/python-modules/lxml/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { }; nativeBuildInputs = [ libxml2.dev libxslt.dev ]; - buildInputs = [ libxml2 libxslt ]; + propagatedBuildInputs = [ libxml2 libxslt ]; hardeningDisable = stdenv.lib.optional stdenv.isDarwin "format"; diff --git a/pkgs/development/python-modules/ncclient/default.nix b/pkgs/development/python-modules/ncclient/default.nix index 10baadcab302..02e2a1b472a7 100644 --- a/pkgs/development/python-modules/ncclient/default.nix +++ b/pkgs/development/python-modules/ncclient/default.nix @@ -4,8 +4,6 @@ , paramiko , selectors2 , lxml -, libxml2 -, libxslt , nose , rednose }: @@ -22,7 +20,7 @@ buildPythonPackage rec { checkInputs = [ nose rednose ]; propagatedBuildInputs = [ - paramiko lxml libxml2 libxslt selectors2 + paramiko lxml selectors2 ]; checkPhase = ''