mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
Merge pull request #121597 from SuperSandro2000/ripgrep
ripgrep: cleanup
This commit is contained in:
commit
69652a072d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user