point to the right libxml2 header folder
This commit is contained in:
parent
1d39f2efee
commit
b2104d93ff
@ -14,21 +14,17 @@ let
|
|||||||
outputs = [ "out" "lib" "doc" "man" ];
|
outputs = [ "out" "lib" "doc" "man" ];
|
||||||
setOutputFlags = false; # $out retains configureFlags :-/
|
setOutputFlags = false; # $out retains configureFlags :-/
|
||||||
|
|
||||||
combinedLibXML2 = symlinkJoin {
|
|
||||||
name = "libxml2-combined";
|
|
||||||
paths = [ libxml2 libxml2.dev ];
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [ combinedLibXML2 ];
|
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ zlib readline openssl makeWrapper ]
|
[ zlib readline openssl makeWrapper libxml2 ]
|
||||||
++ lib.optionals (!stdenv.isDarwin) [ libossp_uuid ];
|
++ lib.optionals (!stdenv.isDarwin) [ libossp_uuid ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
makeFlags = [ "world" ];
|
makeFlags = [ "world" ];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
export CFLAGS="$CFLAGS -I${libxml2.dev}/include/libxml2"
|
||||||
|
'';
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-openssl"
|
"--with-openssl"
|
||||||
"--with-libxml"
|
"--with-libxml"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user