@@ -52,15 +52,14 @@ rustPlatform.buildRustPackage rec {
5252 # Skipping until resolved
5353 doCheck = false;
5454
55− # TODO: Move to enhanced installShellCompletion when merged: PR #83630
5655 postInstall = ''
5756 # remove test plugin and test server
5857 rm -rf $out/lib $out/bin/test_server
5958
60− $out/bin/deno completions bash > deno.bash
61− $out/bin/deno completions fish > deno.fish
62− $out/bin/deno completions zsh > _deno
63− installShellCompletion deno.{bash,fish} --zsh _deno
59+ installShellCompletion --cmd deno \
60+ --bash <($out/bin/deno completions bash) \
61+ --fish <($out/bin/deno completions fish) \
62+ --zsh <($out/bin/deno completions zsh)
6463 '';
6564
6665 passthru.updateScript = ./update/update.ts;