Skip to content

Commit

Permalink
Merge pull request #48100 from tenx-tech/feature/upgrade-helmfile
Browse files Browse the repository at this point in the history
helmfile: update from 0.19.0 to 0.40.1
  • Loading branch information
nlewo committed Oct 13, 2018
2 parents c60e8f4 + a0e4102 commit 276b99a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pkgs/applications/networking/cluster/helmfile/default.nix
@@ -1,6 +1,6 @@
{ lib, buildGoPackage, fetchFromGitHub, makeWrapper, kubernetes-helm, ... }:

let version = "0.19.0"; in
let version = "0.40.1"; in

buildGoPackage {
name = "helmfile-${version}";
Expand All @@ -9,13 +9,18 @@ buildGoPackage {
owner = "roboll";
repo = "helmfile";
rev = "v${version}";
sha256 = "0wjzzaygdnnvyi5a78bhmz2sxc4gykdl00h78dkgvj7aaw05s9yd";
sha256 = "02ir10070rpayv9s53anldwjy5ggl268shgf085d188wl6vshaiv";
};

goPackagePath = "github.com/roboll/helmfile";

nativeBuildInputs = [ makeWrapper ];

buildFlagsArray = ''
-ldflags=
-X main.Version=${version}
'';

postInstall = ''
wrapProgram $bin/bin/helmfile \
--prefix PATH : ${lib.makeBinPath [ kubernetes-helm ]}
Expand Down

0 comments on commit 276b99a

Please sign in to comment.