about summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2022-04-30 22:39:45 +0100
committerArtturin <Artturin@artturin.com>2023-10-15 05:47:38 +0300
commit9b10f9a0c469699b211170f5d47b0324c7b4a0f7 (patch)
treefac9aea0f086731b1c518df82933075c7b275802 /pkgs/shells
parent153d89edda0349d57aa450fd9c249f52831b1168 (diff)
zsh: add nixosTests zsh-history & oh-my-zsh to passthru.tests
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/zsh/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix
index 4a05ee9ead57f..5af94223ec83c 100644
--- a/pkgs/shells/zsh/default.nix
+++ b/pkgs/shells/zsh/default.nix
@@ -11,7 +11,9 @@
 , ncurses
 , pcre
 , pkg-config
-, buildPackages }:
+, buildPackages
+, nixosTests
+}:
 
 let
   version = "5.9";
@@ -143,5 +145,8 @@ EOF
 
   passthru = {
     shellPath = "/bin/zsh";
+    tests = {
+      inherit (nixosTests) zsh-history oh-my-zsh;
+    };
   };
 }