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:
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
|
||||
${optionalString proxySupport "--enable-proxy"}
|
||||
${optionalString sslSupport "--enable-ssl"}
|
||||
${optionalString luaSupport "--enable-lua --with-lua=${lua5}"}
|
||||
${optionalString libxml2Support "--with-libxml2=${libxml2}/include/libxml2"}
|
||||
${optionalString libxml2Support "--with-libxml2=${libxml2.dev}/include/libxml2"}
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
|
||||
@@ -149,7 +149,7 @@ stdenv.mkDerivation rec {
|
||||
NIX_CFLAGS_COMPILE = optionalString modsecurity "-I${aprutil}/include/apr-1 -I${apacheHttpd}/include -I${apr}/include/apr-1 -I${yajl}/include";
|
||||
|
||||
preConfigure = ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libxml2}/include/libxml2 $additionalFlags"
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libxml2.dev}/include/libxml2 $additionalFlags"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -117,7 +117,7 @@ stdenv.mkDerivation rec {
|
||||
additionalFlags = optionalString stdenv.isDarwin "-Wno-error=deprecated-declarations";
|
||||
|
||||
preConfigure = ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libxml2}/include/libxml2 $additionalFlags"
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libxml2.dev}/include/libxml2 $additionalFlags"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
|
||||
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libxml2}/include/libxml2 $additionalFlags"
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libxml2.dev}/include/libxml2 $additionalFlags"
|
||||
export PATH="$PATH:${stdenv.cc.libc.bin}/bin"
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user