mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
php: fixed building with cliSupport = false
This commit is contained in:
parent
60358d0dcf
commit
a2ed10401b
@ -123,7 +123,9 @@ let
|
||||
postBuild = ''
|
||||
cp ${extraInit} $out/lib/php.ini
|
||||
|
||||
wrapProgram $out/bin/php --set PHP_INI_SCAN_DIR $out/lib
|
||||
if test -e $out/bin/php; then
|
||||
wrapProgram $out/bin/php --set PHP_INI_SCAN_DIR $out/lib
|
||||
fi
|
||||
|
||||
if test -e $out/bin/php-fpm; then
|
||||
wrapProgram $out/bin/php-fpm --set PHP_INI_SCAN_DIR $out/lib
|
||||
|
Loading…
Reference in New Issue
Block a user