phel: add postCheckInstall step

This commit is contained in:
Pol Dellaiera 2023-11-01 12:13:04 +01:00
parent 38bac4f0cd
commit b67ef8b189
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -16,6 +16,11 @@ php.buildComposerProject (finalAttrs: {
vendorHash = "sha256-83GX/dxHa6w1E34wnJshg7yxlVyRkDT5jmAPCCqPdtA=";
doInstallCheck = true;
postCheckInstall = ''
$out/bin/phel --version
'';
meta = {
changelog = "https://github.com/phel-lang/phel-lang/releases/tag/v${finalAttrs.version}";
description = "Phel is a functional programming language that compiles to PHP. A Lisp dialect inspired by Clojure and Janet.";