php: fixed building with cliSupport = false

wip/yesman
eyjhb 3 years ago
parent 60358d0dcf
commit a2ed10401b
No known key found for this signature in database
GPG Key ID: 740FAE1502523BD8
  1. 4
      pkgs/development/interpreters/php/generic.nix

@ -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…
Cancel
Save