diff options
author | Tomodachi94 <tomodachi94@protonmail.com> | 2024-06-06 18:22:57 -0700 |
---|---|---|
committer | Tomodachi94 <tomodachi94@protonmail.com> | 2024-06-17 12:37:06 -0700 |
commit | e44f0528f422979c4877620f29cb155b477a618c (patch) | |
tree | 969e77bee8b07fb2ffc74e7f4676774db274f89a /pkgs/development/compilers/c3c | |
parent | 598462adbd5322dee73893cb135ce2389f293665 (diff) |
c3c: add version check
Diffstat (limited to 'pkgs/development/compilers/c3c')
-rw-r--r-- | pkgs/development/compilers/c3c/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/compilers/c3c/default.nix b/pkgs/development/compilers/c3c/default.nix index d394ecbc4c21..440fe155b39b 100644 --- a/pkgs/development/compilers/c3c/default.nix +++ b/pkgs/development/compilers/c3c/default.nix @@ -7,6 +7,7 @@ , libxml2 , libffi , xar +, testers }: llvmPackages.stdenv.mkDerivation rec { @@ -50,6 +51,12 @@ llvmPackages.stdenv.mkDerivation rec { runHook postCheck ''; + passthru.tests = { + version = testers.testVersion { + package = c3c; + }; + }; + meta = with lib; { description = "Compiler for the C3 language"; homepage = "https://github.com/c3lang/c3c"; |