about summary refs log tree commit diff
path: root/pkgs/tools/text/ripgrep
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-15 16:19:50 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-01-15 17:12:36 +0700
commit8c5d37129fc5097d9fb52e95fb07de75392d1c3c (patch)
tree40cfd341b87811008151e9ecf053cf7449574b98 /pkgs/tools/text/ripgrep
parent94f36839357387fd711d17d762d88c69767f265b (diff)
downloadnixlib-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar
nixlib-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.gz
nixlib-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.bz2
nixlib-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.lz
nixlib-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.xz
nixlib-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.zst
nixlib-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.zip
pkgs/tools: stdenv.lib -> lib
Diffstat (limited to 'pkgs/tools/text/ripgrep')
-rw-r--r--pkgs/tools/text/ripgrep/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/text/ripgrep/default.nix b/pkgs/tools/text/ripgrep/default.nix
index 3bea0bdf8fb5..61e534fa732b 100644
--- a/pkgs/tools/text/ripgrep/default.nix
+++ b/pkgs/tools/text/ripgrep/default.nix
@@ -22,11 +22,11 @@ rustPlatform.buildRustPackage rec {
 
   cargoSha256 = "03wf9r2csi6jpa7v5sw5lpxkrk4wfzwmzx7k3991q3bdjzcwnnwp";
 
-  cargoBuildFlags = stdenv.lib.optional withPCRE2 "--features pcre2";
+  cargoBuildFlags = lib.optional withPCRE2 "--features pcre2";
 
   nativeBuildInputs = [ asciidoctor installShellFiles ];
-  buildInputs = (stdenv.lib.optional withPCRE2 pcre2)
-  ++ (stdenv.lib.optional stdenv.isDarwin Security);
+  buildInputs = (lib.optional withPCRE2 pcre2)
+  ++ (lib.optional stdenv.isDarwin Security);
 
   preFixup = ''
     installManPage $releaseDir/build/ripgrep-*/out/rg.1