Loading pkgs/development/php-packages/phpspy/default.nix +19 −3 Original line number Diff line number Diff line Loading @@ -2,6 +2,9 @@ lib, stdenv, fetchFromGitHub, gnugrep, binutils, makeBinaryWrapper, php, testers, phpPackages, Loading @@ -19,19 +22,32 @@ stdenv.mkDerivation (finalAttrs: { fetchSubmodules = true; }; nativeBuildInputs = [ php.unwrapped ]; nativeBuildInputs = [ makeBinaryWrapper php.unwrapped ]; env.USE_ZEND = 1; installPhase = '' runHook preInstall mkdir -p $out/bin cp phpspy $out/bin install -Dt "$out/bin" phpspy stackcollapse-phpspy.pl runHook postInstall ''; postFixup = '' wrapProgram "$out/bin/phpspy" \ --prefix PATH : "${ lib.makeBinPath [ gnugrep # for objdump binutils ] }" ''; passthru.tests.version = testers.testVersion { version = "v${finalAttrs.version}"; package = phpPackages.phpspy; Loading Loading
pkgs/development/php-packages/phpspy/default.nix +19 −3 Original line number Diff line number Diff line Loading @@ -2,6 +2,9 @@ lib, stdenv, fetchFromGitHub, gnugrep, binutils, makeBinaryWrapper, php, testers, phpPackages, Loading @@ -19,19 +22,32 @@ stdenv.mkDerivation (finalAttrs: { fetchSubmodules = true; }; nativeBuildInputs = [ php.unwrapped ]; nativeBuildInputs = [ makeBinaryWrapper php.unwrapped ]; env.USE_ZEND = 1; installPhase = '' runHook preInstall mkdir -p $out/bin cp phpspy $out/bin install -Dt "$out/bin" phpspy stackcollapse-phpspy.pl runHook postInstall ''; postFixup = '' wrapProgram "$out/bin/phpspy" \ --prefix PATH : "${ lib.makeBinPath [ gnugrep # for objdump binutils ] }" ''; passthru.tests.version = testers.testVersion { version = "v${finalAttrs.version}"; package = phpPackages.phpspy; Loading