diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-11-01 12:13:04 +0100 |
---|---|---|
committer | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-11-01 12:13:04 +0100 |
commit | b67ef8b189183264f82c274c8ff1e5561d833d56 (patch) | |
tree | bbb61fb420317399783f55c11c69ff31108330f9 /pkgs/by-name/ph/phel/package.nix | |
parent | 38bac4f0cd333fd49eee2dc7190ff0f0d8be267e (diff) |
phel: add `postCheckInstall` step
Diffstat (limited to 'pkgs/by-name/ph/phel/package.nix')
-rw-r--r-- | pkgs/by-name/ph/phel/package.nix | 5 |
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."; |