diff options
author | Cole Helbling <cole.e.helbling@outlook.com> | 2020-03-19 23:46:50 -0700 |
---|---|---|
committer | Cole Helbling <cole.e.helbling@outlook.com> | 2020-04-12 14:06:08 -0700 |
commit | e4383ce1fb9ca24b432df0b4c3069debf0758013 (patch) | |
tree | 7cbb2c355225e0856b98a5db5008c71521eb5fce /pkgs/tools/misc/fd | |
parent | 120b5a2c319e33edbe0e94d4f64dfe8355a6092a (diff) |
fd: improve robustness of build
Diffstat (limited to 'pkgs/tools/misc/fd')
-rw-r--r-- | pkgs/tools/misc/fd/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/tools/misc/fd/default.nix b/pkgs/tools/misc/fd/default.nix index 060e1c3fcdf6e..20a2de74d274e 100644 --- a/pkgs/tools/misc/fd/default.nix +++ b/pkgs/tools/misc/fd/default.nix @@ -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; { |