git.iko.soy/typeable/nixpkgs
on master help sign in
teleport,teleport.client: 4.2.11 -> 5.1.2
commit64d7dad3fa9cce0a9213f54558f6191c1f55463a authorfreezeboy <freezeboy@users.noreply.github.com> dateTue 5 Jan 2021, 13:50 (6 years ago) parentb0592a3
1 file changed+13−5
pkgs/servers/teleport/default.nix+13−5
pkgs/servers/teleport/default.nix+13−5
@@ -41,21 +41,29 @@ buildGoPackage rec {
4141 popd
4242 '';
4343
44− dontStrip = true;
44+ # Reduce closure size for client machines
45+ outputs = [ "out" "client" ];
46+
47+ buildTargets = [ "full" ];
48+
49+ postInstall = ''
50+ install -Dm755 -t $client/bin $out/bin/tsh
51+ '';
4552
4653 doInstallCheck = true;
4754
4855 installCheckPhase = ''
4956 $out/bin/tsh version | grep ${version} > /dev/null
57+ $client/bin/tsh version | grep ${version} > /dev/null
5058 $out/bin/tctl version | grep ${version} > /dev/null
5159 $out/bin/teleport version | grep ${version} > /dev/null
5260 '';
5361
54− meta = {
62+ meta = with lib; {
5563 description = "A SSH CA management suite";
5664 homepage = "https://gravitational.com/teleport/";
57− license = lib.licenses.asl20;
58− maintainers = with lib.maintainers; [ sigma tomberek ];
59− platforms = lib.platforms.unix;
65+ license = licenses.asl20;
66+ maintainers = with maintainers; [ sigma tomberek freezeboy ];
67+ platforms = platforms.unix;
6068 };
6169}