teleport: fix build with strict deps

wip/yesman
Jörg Thalheim 4 years ago
parent b5144456cc
commit ae08790703
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92
  1. 7
      pkgs/servers/teleport/default.nix

@ -14,8 +14,11 @@ buildGoPackage rec {
};
goPackagePath = "github.com/gravitational/teleport";
subPackages = [ "tool/tctl" "tool/teleport" "tool/tsh" ];
buildInputs = [ zip ];
nativeBuildInputs = [ zip ];
postBuild = ''
pushd .
cd $NIX_BUILD_TOP/go/src/github.com/gravitational/teleport
@ -27,7 +30,7 @@ buildGoPackage rec {
cd $NIX_BUILD_TOP/go/bin
zip -q -A teleport
popd
'';
'';
dontStrip = true;

Loading…
Cancel
Save