use NIX_CFLAGS_COMPILE

This commit is contained in:
Ding Xiang Fei 2018-07-29 21:21:46 +08:00
parent 3a9d8a1ab4
commit 894705161c

View File

@ -23,7 +23,7 @@ let
makeFlags = [ "world" ];
preConfigure = ''
export CFLAGS="$CFLAGS -I${libxml2.dev}/include/libxml2"
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libxml2.dev}/include/libxml2"
'';
configureFlags = [
"--with-openssl"