Loading pkgs/by-name/gi/git-town/package.nix +11 −8 Original line number Diff line number Diff line { lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles, Loading Loading @@ -64,12 +65,14 @@ buildGoModule rec { in [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ]; postInstall = '' postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd git-town \ --bash <($out/bin/git-town completions bash) \ --fish <($out/bin/git-town completions fish) \ --zsh <($out/bin/git-town completions zsh) '' + '' wrapProgram $out/bin/git-town --prefix PATH : ${lib.makeBinPath [ git ]} ''; Loading Loading
pkgs/by-name/gi/git-town/package.nix +11 −8 Original line number Diff line number Diff line { lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles, Loading Loading @@ -64,12 +65,14 @@ buildGoModule rec { in [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ]; postInstall = '' postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd git-town \ --bash <($out/bin/git-town completions bash) \ --fish <($out/bin/git-town completions fish) \ --zsh <($out/bin/git-town completions zsh) '' + '' wrapProgram $out/bin/git-town --prefix PATH : ${lib.makeBinPath [ git ]} ''; Loading