summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-12-14 19:51:20 -0500
committerGitHub <noreply@github.com>2019-12-14 19:51:20 -0500
commit22f57b8925a2bfc588754057ff4c124e0f68d249 (patch)
tree0d78c72fe0cc33970d962dbff663edd9e46a0120 /pkgs
parent69c6e4c2ff329a3064d7d2681d3d7f34641430a4 (diff)
parentc98d54a3e9ffd3b159cdeeb28d7bc87305fbd472 (diff)
downloadnixpkgs-22f57b8925a2bfc588754057ff4c124e0f68d249.tar
nixpkgs-22f57b8925a2bfc588754057ff4c124e0f68d249.tar.gz
nixpkgs-22f57b8925a2bfc588754057ff4c124e0f68d249.tar.bz2
nixpkgs-22f57b8925a2bfc588754057ff4c124e0f68d249.tar.lz
nixpkgs-22f57b8925a2bfc588754057ff4c124e0f68d249.tar.xz
nixpkgs-22f57b8925a2bfc588754057ff4c124e0f68d249.tar.zst
nixpkgs-22f57b8925a2bfc588754057ff4c124e0f68d249.zip
Merge pull request #75625 from kampka/zsh-history-module
zsh-history: Add tests
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/shells/zsh/zsh-history/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/shells/zsh/zsh-history/default.nix b/pkgs/shells/zsh/zsh-history/default.nix
index 98e97d78465..ece3c87cb66 100644
--- a/pkgs/shells/zsh/zsh-history/default.nix
+++ b/pkgs/shells/zsh/zsh-history/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchFromGitHub, buildGoModule, installShellFiles }:
+{ lib, fetchFromGitHub, buildGoModule, installShellFiles, nixosTests }:
 
 buildGoModule rec {
   pname = "zsh-history";
@@ -29,4 +29,8 @@ buildGoModule rec {
     platforms = platforms.unix;
     maintainers = with maintainers; [ kampka ];
   };
+
+  passthru.tests = {
+    zsh-history-shell-integration = nixosTests.zsh-history;
+  };
 }