ripgrep: improve robustness of build

This commit is contained in:
Cole Helbling
2020-04-12 14:07:31 -07:00
parent 857bf884f4
commit 21b5e7d6f6
+3 -3
View File
@@ -30,9 +30,9 @@ rustPlatform.buildRustPackage rec {
++ (stdenv.lib.optional stdenv.isDarwin Security); ++ (stdenv.lib.optional stdenv.isDarwin Security);
preFixup = '' preFixup = ''
(cd target/release/build/ripgrep-*/out installManPage $releaseDir/build/ripgrep-*/out/rg.1
installManPage rg.1
installShellCompletion rg.{bash,fish}) installShellCompletion $releaseDir/build/ripgrep-*/out/rg.{bash,fish}
installShellCompletion --zsh "$src/complete/_rg" installShellCompletion --zsh "$src/complete/_rg"
''; '';