summary refs log tree commit diff
path: root/pkgs/tools/misc/turbo
diff options
context:
space:
mode:
authorArnout Engelen <arnout@bzzt.net>2023-03-11 12:07:29 +0100
committerArnout Engelen <arnout@bzzt.net>2023-03-11 13:43:53 +0100
commit68c7d4da1d1fb167535f218d97f64d22872965c1 (patch)
tree207def239e091aabc87995c9837a595524c0e2e1 /pkgs/tools/misc/turbo
parent898da5f74e4869af867b2e5cb1ff06202aecd910 (diff)
downloadnixpkgs-68c7d4da1d1fb167535f218d97f64d22872965c1.tar
nixpkgs-68c7d4da1d1fb167535f218d97f64d22872965c1.tar.gz
nixpkgs-68c7d4da1d1fb167535f218d97f64d22872965c1.tar.bz2
nixpkgs-68c7d4da1d1fb167535f218d97f64d22872965c1.tar.lz
nixpkgs-68c7d4da1d1fb167535f218d97f64d22872965c1.tar.xz
nixpkgs-68c7d4da1d1fb167535f218d97f64d22872965c1.tar.zst
nixpkgs-68c7d4da1d1fb167535f218d97f64d22872965c1.zip
turbo: add version test
Diffstat (limited to 'pkgs/tools/misc/turbo')
-rw-r--r--pkgs/tools/misc/turbo/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/misc/turbo/default.nix b/pkgs/tools/misc/turbo/default.nix
index 520a4553b47..38b9b997b6f 100644
--- a/pkgs/tools/misc/turbo/default.nix
+++ b/pkgs/tools/misc/turbo/default.nix
@@ -12,6 +12,8 @@
 , extra-cmake-modules
 , fontconfig
 , go
+, testers
+, turbo
 }:
 let
   version = "1.8.3";
@@ -82,6 +84,8 @@ rustPlatform.buildRustPackage rec {
   # Browser tests time out with chromium and google-chrome
   doCheck = false;
 
+  passthru.tests.version = testers.testVersion { package = turbo; };
+
   meta = with lib; {
     description = "High-performance build system for JavaScript and TypeScript codebases";
     homepage = "https://turbo.build/";