summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-05-03 16:59:17 +0200
committerGitHub <noreply@github.com>2021-05-03 16:59:17 +0200
commit9cf8d0d22f8f0c12ffa9234146eb21d346571577 (patch)
tree20e09051e7f93b165fb998786264e358d281b6d4
parente2d36db666a18f9e3e17baed278570f6ec64f304 (diff)
downloadnixpkgs-9cf8d0d22f8f0c12ffa9234146eb21d346571577.tar
nixpkgs-9cf8d0d22f8f0c12ffa9234146eb21d346571577.tar.gz
nixpkgs-9cf8d0d22f8f0c12ffa9234146eb21d346571577.tar.bz2
nixpkgs-9cf8d0d22f8f0c12ffa9234146eb21d346571577.tar.lz
nixpkgs-9cf8d0d22f8f0c12ffa9234146eb21d346571577.tar.xz
nixpkgs-9cf8d0d22f8f0c12ffa9234146eb21d346571577.tar.zst
nixpkgs-9cf8d0d22f8f0c12ffa9234146eb21d346571577.zip
ripgrep: cleanup
-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 6417fb0f93b..61c24ae39e4 100644
--- a/pkgs/tools/text/ripgrep/default.nix
+++ b/pkgs/tools/text/ripgrep/default.nix
@@ -6,7 +6,7 @@
 , pkg-config
 , Security
 , withPCRE2 ? true
-, pcre2 ? null
+, pcre2
 }:
 
 rustPlatform.buildRustPackage rec {
@@ -26,8 +26,8 @@ rustPlatform.buildRustPackage rec {
 
   nativeBuildInputs = [ asciidoctor installShellFiles ]
     ++ lib.optional withPCRE2 pkg-config;
-  buildInputs = (lib.optional withPCRE2 pcre2)
-    ++ (lib.optional stdenv.isDarwin Security);
+  buildInputs = lib.optional withPCRE2 pcre2
+    ++ lib.optional stdenv.isDarwin Security;
 
   preFixup = ''
     installManPage $releaseDir/build/ripgrep-*/out/rg.1