Merge pull request #82982 from cole-h/rust-cleanup

improve robustness of various Rust packages
This commit is contained in:
Maximilian Bosch
2020-04-30 02:07:57 +02:00
committed by GitHub
10 changed files with 15 additions and 17 deletions
+3 -3
View File
@@ -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"
'';