mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 05:44:13 +00:00
inlyne: fix installing shell completions
upstream recommends using cargo xtask gen, but checks in the results
This commit is contained in:
parent
33309ebfa3
commit
7454971deb
@ -53,9 +53,9 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd inlyne \
|
||||
--bash <($out/bin/inlyne --gen-completions bash) \
|
||||
--fish <($out/bin/inlyne --gen-completions fish) \
|
||||
--zsh <($out/bin/inlyne --gen-completions zsh)
|
||||
--bash completions/inlyne.bash \
|
||||
--fish completions/inlyne.fish \
|
||||
--zsh completions/_inlyne
|
||||
'';
|
||||
|
||||
postFixup = lib.optionalString stdenv.isLinux ''
|
||||
|
Loading…
Reference in New Issue
Block a user