We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
versionCheckHook
1 parent e0cdd6b commit 21184f5Copy full SHA for 21184f5
pkgs/by-name/ph/phpactor/package.nix
@@ -3,6 +3,7 @@
3
fetchFromGitHub,
4
installShellFiles,
5
php,
6
+ versionCheckHook,
7
}:
8
9
php.buildComposerProject2 (finalAttrs: {
@@ -25,6 +26,10 @@ php.buildComposerProject2 (finalAttrs: {
25
26
--bash <(php $out/bin/phpactor completion bash)
27
'';
28
29
+ doInstallCheck = true;
30
+ nativeInstallCheckInputs = [ versionCheckHook ];
31
+ versionCheckProgramArg = "--version";
32
+
33
meta = {
34
changelog = "https://github.com/phpactor/phpactor/releases/tag/${finalAttrs.version}";
35
description = "Mainly a PHP Language Server";
0 commit comments