trashy: move installShellCompletion to postInstall for consistency
This commit is contained in:
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
preFixup = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd trash \
|
||||
--bash <($out/bin/trash completions bash) \
|
||||
--fish <($out/bin/trash completions fish) \
|
||||
|
||||
Reference in New Issue
Block a user