diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-28 00:06:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 00:06:22 +0100 |
commit | f84e62c991ec2fa1ce51aa5d0ea78cfb2fdce3ff (patch) | |
tree | c3bccf2e2b8943fba38f0be41eba356667440fb8 | |
parent | 88f877e07def90a2c77106b86802b143ca8f97b3 (diff) | |
parent | a2ac3c2f58e1a8adb367b294511293f516766b4c (diff) |
Merge pull request #110941 from ymatsiuk/bumpflux
fluxcd: 0.6.3 -> 0.7.3
-rw-r--r-- | pkgs/applications/networking/cluster/fluxcd/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/applications/networking/cluster/fluxcd/default.nix b/pkgs/applications/networking/cluster/fluxcd/default.nix index 39399a7dbcf7..ef33a4b0f84a 100644 --- a/pkgs/applications/networking/cluster/fluxcd/default.nix +++ b/pkgs/applications/networking/cluster/fluxcd/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "fluxcd"; - version = "0.6.3"; + version = "0.7.3"; src = fetchFromGitHub { owner = "fluxcd"; repo = "flux2"; rev = "v${version}"; - sha256 = "08mdcnzvjfiw81vribayl58vsjb4sipsnn4x7zv4yk0vvw72i9k8"; + sha256 = "1y586704xckhyyqmmgq4g6csnf9iqi7xb2vqv5sqyz96ik3kg9vy"; }; - vendorSha256 = "1aijdx4mln78srz6b8nghkwsliia86x9xrfzs3sz7v4h36vhdjpa"; + vendorSha256 = "1kyj65fc2q1sc4aiy87i2wzf7kqybjf08mmmw0ajcxszcr0mcadb"; nativeBuildInputs = [ installShellFiles ]; @@ -21,6 +21,11 @@ buildGoModule rec { buildFlagsArray = [ "-ldflags=-s -w -X main.VERSION=${version}" ]; + doInstallCheck = true; + installCheckPhase = '' + $out/bin/flux --version | grep ${version} > /dev/null + ''; + postInstall = '' for shell in bash fish zsh; do $out/bin/flux completion $shell > flux.$shell |