teleport: fix build with strict deps

This commit is contained in:
Jörg Thalheim
2020-03-18 11:29:40 +00:00
parent b5144456cc
commit ae08790703
+5 -2
View File
@@ -14,8 +14,11 @@ buildGoPackage rec {
}; };
goPackagePath = "github.com/gravitational/teleport"; goPackagePath = "github.com/gravitational/teleport";
subPackages = [ "tool/tctl" "tool/teleport" "tool/tsh" ]; subPackages = [ "tool/tctl" "tool/teleport" "tool/tsh" ];
buildInputs = [ zip ];
nativeBuildInputs = [ zip ];
postBuild = '' postBuild = ''
pushd . pushd .
cd $NIX_BUILD_TOP/go/src/github.com/gravitational/teleport cd $NIX_BUILD_TOP/go/src/github.com/gravitational/teleport
@@ -27,7 +30,7 @@ buildGoPackage rec {
cd $NIX_BUILD_TOP/go/bin cd $NIX_BUILD_TOP/go/bin
zip -q -A teleport zip -q -A teleport
popd popd
''; '';
dontStrip = true; dontStrip = true;