ripgrep: improve robustness of build
This commit is contained in:
parent
857bf884f4
commit
21b5e7d6f6
1 changed files with 3 additions and 3 deletions
|
@ -30,9 +30,9 @@ rustPlatform.buildRustPackage rec {
|
|||
++ (stdenv.lib.optional stdenv.isDarwin Security);
|
||||
|
||||
preFixup = ''
|
||||
(cd target/release/build/ripgrep-*/out
|
||||
installManPage rg.1
|
||||
installShellCompletion rg.{bash,fish})
|
||||
installManPage $releaseDir/build/ripgrep-*/out/rg.1
|
||||
|
||||
installShellCompletion $releaseDir/build/ripgrep-*/out/rg.{bash,fish}
|
||||
installShellCompletion --zsh "$src/complete/_rg"
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue