summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorChristian Kampka <christian@kampka.net>2019-12-13 21:47:15 +0100
committerChristian Kampka <christian@kampka.net>2019-12-14 10:58:38 +0100
commitc98d54a3e9ffd3b159cdeeb28d7bc87305fbd472 (patch)
tree18471a78e8106cdaaca8e86620b907f18b8fab01 /pkgs/shells
parentb85286fe667f5c57a221a0e98269235507135c50 (diff)
downloadnixpkgs-c98d54a3e9ffd3b159cdeeb28d7bc87305fbd472.tar
nixpkgs-c98d54a3e9ffd3b159cdeeb28d7bc87305fbd472.tar.gz
nixpkgs-c98d54a3e9ffd3b159cdeeb28d7bc87305fbd472.tar.bz2
nixpkgs-c98d54a3e9ffd3b159cdeeb28d7bc87305fbd472.tar.lz
nixpkgs-c98d54a3e9ffd3b159cdeeb28d7bc87305fbd472.tar.xz
nixpkgs-c98d54a3e9ffd3b159cdeeb28d7bc87305fbd472.tar.zst
nixpkgs-c98d54a3e9ffd3b159cdeeb28d7bc87305fbd472.zip
zsh-history: Add tests
Diffstat (limited to 'pkgs/shells')
-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;
+  };
 }