wp-cli: ensure arguments are sent to wp-cli and not php
This commit is contained in:
parent
6134c2f891
commit
86e74a4b97
|
@ -41,7 +41,8 @@ stdenv.mkDerivation rec {
|
|||
mkdir -p $out/bin
|
||||
makeWrapper ${lib.getBin php}/bin/php $out/bin/wp \
|
||||
--add-flags "-c $dir/php.ini" \
|
||||
--add-flags "-f $dir/wp-cli"
|
||||
--add-flags "-f $dir/wp-cli" \
|
||||
--add-flags "--"
|
||||
|
||||
# this is a very basic run test
|
||||
$out/bin/wp --info >/dev/null
|
||||
|
|
Loading…
Reference in a new issue