diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index 28af31b73f2b..e4a999e67bc8 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -149,12 +149,12 @@ in }; phpcbf = mkDerivation rec { - version = "3.5.3"; + version = "3.5.4"; pname = "phpcbf"; src = pkgs.fetchurl { url = "https://github.com/squizlabs/PHP_CodeSniffer/releases/download/${version}/phpcbf.phar"; - sha256 = "1mrsf9p6p64pyqyylnlxb2b7cirdfccch83g7yhfnka3znffq86v"; + sha256 = "18x7fk59l821pivw1i2r868y78qgs0qk47b9il1smwi6plwyyflr"; }; phases = [ "installPhase" ]; @@ -163,7 +163,7 @@ in installPhase = '' mkdir -p $out/bin install -D $src $out/libexec/phpcbf/phpcbf.phar - makeWrapper ${php}/bin/php $out/bin/phpcbf \ + makeWrapper ${phpWithExtensions}/bin/php $out/bin/phpcbf \ --add-flags "$out/libexec/phpcbf/phpcbf.phar" '';