From 1b1d292d3c92a9963b2fd817973a2924c899cb03 Mon Sep 17 00:00:00 2001 From: Elis Hirwing Date: Tue, 14 Apr 2020 15:20:27 +0200 Subject: [PATCH] php.packages.phpstan: 0.12.14 -> 0.12.18 Changelog: https://github.com/phpstan/phpstan/releases/tag/0.12.18 Also switch to phpWithExtensions because it complained about missing extensions when running the binary. --- pkgs/top-level/php-packages.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index 28af31b73f2b..f3e8a9bfa419 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -203,12 +203,12 @@ in }; phpstan = mkDerivation rec { - version = "0.12.14"; + version = "0.12.18"; pname = "phpstan"; src = pkgs.fetchurl { url = "https://github.com/phpstan/phpstan/releases/download/${version}/phpstan.phar"; - sha256 = "JAq1/+bVhTgKRR7oFusqZ/yBOYewaOM38ZoiCjirsTg="; + sha256 = "0xf0q2z6rhpnbys53si05mddfyjn3wx5wc8zx5y6dv5fzw6z7rch"; }; phases = [ "installPhase" ]; @@ -217,7 +217,7 @@ in installPhase = '' mkdir -p $out/bin install -D $src $out/libexec/phpstan/phpstan.phar - makeWrapper ${php}/bin/php $out/bin/phpstan \ + makeWrapper ${phpWithExtensions}/bin/php $out/bin/phpstan \ --add-flags "$out/libexec/phpstan/phpstan.phar" '';