squid4: hack to detect our libxml2

This commit is contained in:
Andreas Rammhold 2018-02-07 11:37:30 +01:00
parent 5cdcd3fef4
commit 291b05ee21
No known key found for this signature in database
GPG key ID: E432E410B5E48C86

View file

@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
perl openldap db cyrus_sasl expat libxml2 openssl
] ++ stdenv.lib.optionals stdenv.isLinux [ libcap pam ];
prePatch = ''
substituteInPlace configure --replace "/usr/local/include/libxml2" "${libxml2.dev}/include/libxml2"
'';
configureFlags = [
"--enable-ipv6"
"--disable-strict-error-checking"