From c4ea157cb792662880b7310510465abe4b18c42c Mon Sep 17 00:00:00 2001 From: c74d <8573dd@gmail.com> Date: Wed, 26 Oct 2016 03:01:18 +0000 Subject: [PATCH] Mention Nix package in README In the `README.md` document, where said document documents the availability of pre-built packages of ripgrep, document the availability of such a package from the package management system Nix. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 607767eb..e0ad6818 100644 --- a/README.md +++ b/README.md @@ -132,6 +132,14 @@ $ yum-config-manager --add-repo=https://copr.fedorainfracloud.org/coprs/carlgeor $ yum install ripgrep ``` +If you're a **Nix** user, you can install `ripgrep` from +[nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/text/ripgrep/default.nix): + +``` +$ nix-env --install ripgrep +$ # (Or using the attribute name, which is also `ripgrep`.) +``` + If you're a **Rust programmer**, `ripgrep` can be installed with `cargo`: ```