pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user