From 624887a3546ad691bc27a803a08fa4a321e693f2 Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Thu, 1 Jun 2017 23:16:19 +0200 Subject: [PATCH] php: set extension dir to correct location The extension dir was no longer correctly set to $out/lib/php/extensions as PHP expects the EXTENSION_DIR as environment variable not config flag. --- pkgs/development/interpreters/php/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/php/default.nix b/pkgs/development/interpreters/php/default.nix index b1fdb9e81f9c..709f0fad41e6 100644 --- a/pkgs/development/interpreters/php/default.nix +++ b/pkgs/development/interpreters/php/default.nix @@ -274,9 +274,10 @@ let #[[ -z "$libxml2" ]] || addToSearchPath PATH $libxml2/bin + export EXTENSION_DIR=$out/lib/php/extensions + configureFlags+=(--with-config-file-path=$out/etc \ - --includedir=$dev/include \ - EXTENSION_DIR=$out/lib/php/extensions) + --includedir=$dev/include) ''; configureFlags = [