summary refs log tree commit diff
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorTim Steinbach <tim@nequissimus.com>2020-12-23 12:30:39 -0500
committerTim Steinbach <tim@nequissimus.com>2020-12-23 12:30:39 -0500
commit05bf935bc6dbffaec6fe11ddb29390e495393927 (patch)
tree68581dc0cd57d1dbba8017560d63c01b9db5cf46 /pkgs/tools/text
parentd14182937ddc9afb17471961d7055e816508f542 (diff)
downloadnixpkgs-05bf935bc6dbffaec6fe11ddb29390e495393927.tar
nixpkgs-05bf935bc6dbffaec6fe11ddb29390e495393927.tar.gz
nixpkgs-05bf935bc6dbffaec6fe11ddb29390e495393927.tar.bz2
nixpkgs-05bf935bc6dbffaec6fe11ddb29390e495393927.tar.lz
nixpkgs-05bf935bc6dbffaec6fe11ddb29390e495393927.tar.xz
nixpkgs-05bf935bc6dbffaec6fe11ddb29390e495393927.tar.zst
nixpkgs-05bf935bc6dbffaec6fe11ddb29390e495393927.zip
ripgrep: Add test
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r--pkgs/tools/text/ripgrep/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/text/ripgrep/default.nix b/pkgs/tools/text/ripgrep/default.nix
index 7bd8a74f458..c69c6fef8cb 100644
--- a/pkgs/tools/text/ripgrep/default.nix
+++ b/pkgs/tools/text/ripgrep/default.nix
@@ -1,4 +1,5 @@
 { stdenv
+, nixosTests
 , fetchFromGitHub
 , rustPlatform
 , asciidoctor
@@ -34,6 +35,8 @@ rustPlatform.buildRustPackage rec {
     installShellCompletion --zsh complete/_rg
   '';
 
+  passthru.tests = { inherit (nixosTests) ripgrep; };
+
   meta = with stdenv.lib; {
     description = "A utility that combines the usability of The Silver Searcher with the raw speed of grep";
     homepage = "https://github.com/BurntSushi/ripgrep";