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.
This commit is contained in:
Pascal Bach 2017-06-01 23:16:19 +02:00
parent f09d104b41
commit 624887a354

View File

@ -274,9 +274,10 @@ let
#[[ -z "$libxml2" ]] || addToSearchPath PATH $libxml2/bin #[[ -z "$libxml2" ]] || addToSearchPath PATH $libxml2/bin
export EXTENSION_DIR=$out/lib/php/extensions
configureFlags+=(--with-config-file-path=$out/etc \ configureFlags+=(--with-config-file-path=$out/etc \
--includedir=$dev/include \ --includedir=$dev/include)
EXTENSION_DIR=$out/lib/php/extensions)
''; '';
configureFlags = [ configureFlags = [