libxml2Python: fix propagated inputs

Partially reverts 6a359b2333

Fixes build of gnome-doc-utils and others in
https://hydra.nixos.org/eval/1604922#tabs-now-fail
This commit is contained in:
Orivej Desh 2020-08-10 12:37:47 +00:00
parent 0dc87c6e54
commit 7c61ce0e34

View file

@ -13938,7 +13938,9 @@ in
python = python3;
};
libxml2Python = pkgs.buildEnv { # slightly hacky
libxml2Python = let
libxml2 = python2Packages.libxml2;
in pkgs.buildEnv { # slightly hacky
name = "libxml2+py-${res.libxml2.version}";
paths = with libxml2; [ dev bin py ];
inherit (libxml2) passthru;