Merge pull request #121597 from SuperSandro2000/ripgrep
ripgrep: cleanup
This commit is contained in:
commit
69652a072d
|
@ -6,7 +6,7 @@
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, Security
|
, Security
|
||||||
, withPCRE2 ? true
|
, withPCRE2 ? true
|
||||||
, pcre2 ? null
|
, pcre2
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
|
@ -26,8 +26,8 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ asciidoctor installShellFiles ]
|
nativeBuildInputs = [ asciidoctor installShellFiles ]
|
||||||
++ lib.optional withPCRE2 pkg-config;
|
++ lib.optional withPCRE2 pkg-config;
|
||||||
buildInputs = (lib.optional withPCRE2 pcre2)
|
buildInputs = lib.optional withPCRE2 pcre2
|
||||||
++ (lib.optional stdenv.isDarwin Security);
|
++ lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
installManPage $releaseDir/build/ripgrep-*/out/rg.1
|
installManPage $releaseDir/build/ripgrep-*/out/rg.1
|
||||||
|
|
Loading…
Reference in New Issue