summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/cluster/istioctl
diff options
context:
space:
mode:
authorTeo Klestrup Röijezon <teo@nullable.se>2020-07-29 11:45:08 +0200
committerTeo Klestrup Röijezon <teo@nullable.se>2020-07-29 11:45:08 +0200
commit0f23e0b661d26199118f18d65cca9ab1d2f1c64d (patch)
tree7f4d1433cae68cf01521698088765902b80c944c /pkgs/applications/networking/cluster/istioctl
parent8649a868847f0d404bc628c87409f7c9d66e6393 (diff)
istioctl: bundle charts
Fixes #94163
Diffstat (limited to 'pkgs/applications/networking/cluster/istioctl')
-rw-r--r--pkgs/applications/networking/cluster/istioctl/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/networking/cluster/istioctl/default.nix b/pkgs/applications/networking/cluster/istioctl/default.nix
index 90ce1d82f490..60dc2119ac50 100644
--- a/pkgs/applications/networking/cluster/istioctl/default.nix
+++ b/pkgs/applications/networking/cluster/istioctl/default.nix
@@ -1,4 +1,4 @@
-{ lib, buildGoModule, fetchFromGitHub }:
+{ lib, buildGoModule, fetchFromGitHub, go-bindata }:
buildGoModule rec {
pname = "istioctl";
@@ -12,6 +12,13 @@ buildGoModule rec {
};
vendorSha256 = "15l9z2a8p46jvmkl0vvm6s196mlics0qgmpm3yq3bn6cqnybdsij";
+ nativeBuildInputs = [ go-bindata ];
+
+ preBuild = ''
+ patchShebangs operator/scripts
+ operator/scripts/create_assets_gen.sh
+ '';
+
subPackages = [ "istioctl/cmd/istioctl" ];
meta = with lib; {