fd: improve robustness of build

This commit is contained in:
Cole Helbling 2020-03-19 23:46:50 -07:00
parent 120b5a2c31
commit e4383ce1fb
No known key found for this signature in database
GPG key ID: B37E0F2371016A4C

View file

@ -18,9 +18,8 @@ rustPlatform.buildRustPackage rec {
preFixup = ''
installManPage "$src/doc/fd.1"
(cd target/release/build/fd-find-*/out
installShellCompletion fd.{bash,fish}
installShellCompletion --zsh _fd)
installShellCompletion $releaseDir/build/fd-find-*/out/fd.{bash,fish}
installShellCompletion --zsh $releaseDir/build/fd-find-*/out/_fd
'';
meta = with lib; {