Loading pkgs/by-name/go/gops/package.nix +12 −0 Original line number Diff line number Diff line { lib, stdenv, buildGoModule, fetchFromGitHub, writableTmpDirAsHomeHook, installShellFiles, }: buildGoModule (finalAttrs: { Loading @@ -20,6 +22,16 @@ buildGoModule (finalAttrs: { nativeCheckInputs = [ writableTmpDirAsHomeHook ]; nativeBuildInputs = [ installShellFiles ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion \ --cmd gops \ --bash <($out/bin/gops completion bash) \ --fish <($out/bin/gops completion fish) \ --zsh <($out/bin/gops completion zsh) ''; meta = with lib; { description = "Tool to list and diagnose Go processes currently running on your system"; mainProgram = "gops"; Loading Loading
pkgs/by-name/go/gops/package.nix +12 −0 Original line number Diff line number Diff line { lib, stdenv, buildGoModule, fetchFromGitHub, writableTmpDirAsHomeHook, installShellFiles, }: buildGoModule (finalAttrs: { Loading @@ -20,6 +22,16 @@ buildGoModule (finalAttrs: { nativeCheckInputs = [ writableTmpDirAsHomeHook ]; nativeBuildInputs = [ installShellFiles ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion \ --cmd gops \ --bash <($out/bin/gops completion bash) \ --fish <($out/bin/gops completion fish) \ --zsh <($out/bin/gops completion zsh) ''; meta = with lib; { description = "Tool to list and diagnose Go processes currently running on your system"; mainProgram = "gops"; Loading