about summary refs log tree commit diff
path: root/pkgs/by-name
diff options
context:
space:
mode:
authorJermeiah S2024-08-03 21:30:19 -0400
committerJermeiah S2024-08-03 22:48:43 -0400
commit941d89514cd0522b9283678819ab82acf1b415fc (patch)
tree4abda5e01f67d5b0e8af22b315483f01a8cf6e1c /pkgs/by-name
parentf3834de3782b82bfc666abf664f946d0e7d1f116 (diff)
serie: fixed rust check failures, added version test
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/se/serie/package.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/by-name/se/serie/package.nix b/pkgs/by-name/se/serie/package.nix
index 62937e9b1597..3a46cd2e6c58 100644
--- a/pkgs/by-name/se/serie/package.nix
+++ b/pkgs/by-name/se/serie/package.nix
@@ -4,6 +4,9 @@
   fetchFromGitHub,
   rustPlatform,
   darwin,
+  testers,
+  gitMinimal,
+  serie,
 }:
 
 rustPlatform.buildRustPackage rec {
@@ -27,8 +30,9 @@ rustPlatform.buildRustPackage rec {
     ]
   );
 
-  # requires a git repository
-  doCheck = false;
+  nativeCheckInputs = [ gitMinimal ];
+
+  passthru.tests.version = testers.testVersion { package = serie; };
 
   meta = with lib; {
     description = "A rich git commit graph in your terminal, like magic";