teleport: fix build with strict deps

This commit is contained in:
Jörg Thalheim 2020-03-18 10:43:09 +00:00
parent b5144456cc
commit ae08790703
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -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;