libxml2,libxslt: split into multiple outputs
Fixed all references, hopefully. libxml2Python is slightly hacky now, but it seems to work.
This commit is contained in:
@@ -67,7 +67,7 @@ let
|
||||
|
||||
libxml2 = {
|
||||
configureFlags = [
|
||||
"--with-libxml-dir=${libxml2}"
|
||||
"--with-libxml-dir=${libxml2.dev}"
|
||||
];
|
||||
buildInputs = [ libxml2 ];
|
||||
};
|
||||
|
||||
@@ -63,12 +63,12 @@ in
|
||||
buildFlags = [
|
||||
"--use-system-libraries"
|
||||
"--with-zlib-dir=${zlib}"
|
||||
"--with-xml2-lib=${libxml2}/lib"
|
||||
"--with-xml2-include=${libxml2}/include/libxml2"
|
||||
"--with-xslt-lib=${libxslt}/lib"
|
||||
"--with-xslt-include=${libxslt}/include"
|
||||
"--with-exslt-lib=${libxslt}/lib"
|
||||
"--with-exslt-include=${libxslt}/include"
|
||||
"--with-xml2-lib=${libxml2.out}/lib"
|
||||
"--with-xml2-include=${libxml2.dev}/include/libxml2"
|
||||
"--with-xslt-lib=${libxslt.out}/lib"
|
||||
"--with-xslt-include=${libxslt.dev}/include"
|
||||
"--with-exslt-lib=${libxslt.out}/lib"
|
||||
"--with-exslt-include=${libxslt.dev}/include"
|
||||
] ++ lib.optional stdenv.isDarwin "--with-iconv-dir=${libiconv}";
|
||||
buildInputs = lib.optional stdenv.isDarwin darwin.libobjc;
|
||||
};
|
||||
|
||||
@@ -82,8 +82,8 @@ in
|
||||
nokogiri = {
|
||||
buildInputs = [ libxml2 ];
|
||||
buildFlags =
|
||||
[ "--with-xml2-dir=${libxml2} --with-xml2-include=${libxml2}/include/libxml2"
|
||||
"--with-xslt-dir=${libxslt} --use-system-libraries"
|
||||
[ "--with-xml2-dir=${libxml2.out} --with-xml2-include=${libxml2.dev}/include/libxml2"
|
||||
"--with-xslt-dir=${libxslt.out} --use-system-libraries"
|
||||
libiconv
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user