Merge pull request #144863 from azuwis/helmfile

helmfile: Stop prefixing PATH with kubernetes-helm
This commit is contained in:
Florian Klink
2021-11-07 21:12:07 +01:00
committed by GitHub
@@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, kubernetes-helm }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "helmfile";
@@ -15,17 +15,10 @@ buildGoModule rec {
doCheck = false;
nativeBuildInputs = [ makeWrapper ];
subPackages = [ "." ];
ldflags = [ "-s" "-w" "-X github.com/roboll/helmfile/pkg/app/version.Version=${version}" ];
postInstall = ''
wrapProgram $out/bin/helmfile \
--prefix PATH : ${lib.makeBinPath [ kubernetes-helm ]}
'';
meta = {
description = "Deploy Kubernetes Helm charts";
homepage = "https://github.com/roboll/helmfile";