libxml2Python: fix not finding XML catalogs

This commit is contained in:
Vladimír Čunát 2015-12-04 14:33:33 +01:00
parent 96fea82e93
commit e142107242

View file

@ -7658,6 +7658,11 @@ let
name = "libxml2+py-${pkgs.libxml2.version}"; name = "libxml2+py-${pkgs.libxml2.version}";
paths = with libxml2; [ dev bin py ]; paths = with libxml2; [ dev bin py ];
inherit (pkgs.libxml2) passthru; inherit (pkgs.libxml2) passthru;
# the hook to find catalogs is hidden by buildEnv
postBuild = ''
mkdir "$out/nix-support"
cp '${libxml2.dev}/nix-support/propagated-native-build-inputs' "$out/nix-support/"
'';
}; };
libxmlxx = callPackage ../development/libraries/libxmlxx { }; libxmlxx = callPackage ../development/libraries/libxmlxx { };