From 4e5040fa09ee07102708ad669ec8d4924d72bd38 Mon Sep 17 00:00:00 2001
From: Martin Bravenboer <martin.bravenboer@logicblox.com>
Date: Mon, 20 Jun 2005 20:35:07 +0000
Subject: [PATCH] Build xpf with python enabled libxml2

svn path=/nixpkgs/trunk/; revision=3229
---
 pkgs/system/all-packages-generic.nix | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix
index 0d7be58322c..eb8e94389f3 100644
--- a/pkgs/system/all-packages-generic.nix
+++ b/pkgs/system/all-packages-generic.nix
@@ -78,7 +78,12 @@ rec {
   };
 
   xpf = (import ../tools/text/xml/xpf) {
-    inherit fetchurl stdenv python libxml2;
+    inherit fetchurl stdenv python;
+
+    libxml2 = (import ../development/libraries/libxml2) {
+      inherit fetchurl stdenv zlib python;
+      pythonSupport = true;
+    };
   };
 
   jing_tools = (import ../tools/text/xml/jing/jing-script.nix) {