Loading pkgs/by-name/gu/gum/package.nix +8 −11 Original line number Diff line number Diff line Loading @@ -29,12 +29,9 @@ buildGoModule rec { "-X=main.Version=${version}" ]; postInstall = '' postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' $out/bin/gum man > gum.1 installManPage gum.1 '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd gum \ --bash <($out/bin/gum completion bash) \ --fish <($out/bin/gum completion fish) \ Loading Loading
pkgs/by-name/gu/gum/package.nix +8 −11 Original line number Diff line number Diff line Loading @@ -29,12 +29,9 @@ buildGoModule rec { "-X=main.Version=${version}" ]; postInstall = '' postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' $out/bin/gum man > gum.1 installManPage gum.1 '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd gum \ --bash <($out/bin/gum completion bash) \ --fish <($out/bin/gum completion fish) \ Loading