about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/by-name/ph/phel/package.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/by-name/ph/phel/package.nix b/pkgs/by-name/ph/phel/package.nix
index 0b25f3939d21c..2c6431da28870 100644
--- a/pkgs/by-name/ph/phel/package.nix
+++ b/pkgs/by-name/ph/phel/package.nix
@@ -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.";