mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
squid4: hack to detect our libxml2
This commit is contained in:
parent
5cdcd3fef4
commit
291b05ee21
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user