From b336be90cc3e7e15140aa1dbc1a98c8a18323506 Mon Sep 17 00:00:00 2001 From: Periklis Tsirakidis Date: Tue, 18 Oct 2016 18:01:49 +0200 Subject: [PATCH] php: fix darwin build --- pkgs/development/interpreters/php/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/php/default.nix b/pkgs/development/interpreters/php/default.nix index 5bed153dcf82..c4493fa380da 100644 --- a/pkgs/development/interpreters/php/default.nix +++ b/pkgs/development/interpreters/php/default.nix @@ -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"