about summary refs log tree commit diff
path: root/pkgs/tools/misc/atuin
diff options
context:
space:
mode:
authorMorgan Helton <mhelton@gmail.com>2022-12-15 21:07:26 -0600
committerMorgan Helton <mhelton@gmail.com>2022-12-15 21:07:26 -0600
commit67b35bfcf00261bddeaf3635e8bb09d1656ce34b (patch)
treebc566cfdd5551940b4a48ab4f502cdfc05003f47 /pkgs/tools/misc/atuin
parenta935888d452387d6ae5d96d87662c8d8388b8f43 (diff)
atuin: add passthru for NixOS module tests
Diffstat (limited to 'pkgs/tools/misc/atuin')
-rw-r--r--pkgs/tools/misc/atuin/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/misc/atuin/default.nix b/pkgs/tools/misc/atuin/default.nix
index 3501ebf91019b..9d3de4aaa5f99 100644
--- a/pkgs/tools/misc/atuin/default.nix
+++ b/pkgs/tools/misc/atuin/default.nix
@@ -6,6 +6,7 @@
 , libiconv
 , Security
 , SystemConfiguration
+, nixosTests
 }:
 
 rustPlatform.buildRustPackage rec {
@@ -32,6 +33,10 @@ rustPlatform.buildRustPackage rec {
       --zsh <($out/bin/atuin gen-completions -s zsh)
   '';
 
+  passthru.tests = {
+    inherit (nixosTests) atuin;
+  };
+
   meta = with lib; {
     description = "Replacement for a shell history which records additional commands context with optional encrypted synchronization between machines";
     homepage = "https://github.com/ellie/atuin";