mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 19:07:51 +00:00
procs: fix completions installation
This commit is contained in:
parent
957cec873f
commit
9cf254c40c
@ -17,9 +17,9 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
postInstall = ''
|
||||
for shell in bash fish zsh; do
|
||||
$out/bin/procs --completion $shell > procs.$shell
|
||||
installShellCompletion procs.$shell
|
||||
$out/bin/procs --completion $shell
|
||||
done
|
||||
installShellCompletion procs.{bash,fish} --zsh _procs
|
||||
'';
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ];
|
||||
|
Loading…
Reference in New Issue
Block a user