From 2fd334dc73cdf7ccc12c57c2f8910fae010d314f Mon Sep 17 00:00:00 2001 From: Julius Michaelis Date: Thu, 11 Jul 2024 13:13:24 +0900 Subject: [PATCH] trashy: move installShellCompletion to postInstall for consistency --- pkgs/tools/misc/trashy/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/misc/trashy/default.nix b/pkgs/tools/misc/trashy/default.nix index 39c725b3cfcb..09cbccb13c77 100644 --- a/pkgs/tools/misc/trashy/default.nix +++ b/pkgs/tools/misc/trashy/default.nix @@ -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) \