php: fix darwin build

This commit is contained in:
Periklis Tsirakidis 2016-10-18 18:01:49 +02:00
parent 80224ed1d1
commit b336be90cc

View File

@ -19,7 +19,8 @@ let
enableParallelBuilding = true;
buildInputs = [ flex bison pkgconfig systemd ];
buildInputs = [ flex bison pkgconfig ]
++ lib.optional stdenv.isLinux [systemd ];
configureFlags = [
"EXTENSION_DIR=$(out)/lib/php/extensions"