helmfile: fix sub package
This commit is contained in:
parent
e4873b913d
commit
117909637c
@ -1,10 +1,8 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, kubernetes-helm, ... }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, kubernetes-helm }:
|
||||
|
||||
let version = "0.119.0"; in
|
||||
|
||||
buildGoModule {
|
||||
buildGoModule rec {
|
||||
pname = "helmfile";
|
||||
inherit version;
|
||||
version = "0.119.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "roboll";
|
||||
@ -13,16 +11,13 @@ buildGoModule {
|
||||
sha256 = "067hlzp87g36wgxankrmd2nva1v40pa31acq1hh0jxyxp98sfgk1";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/roboll/helmfile";
|
||||
|
||||
vendorSha256 = "11bw10s5wifzw2cy1100hyjv4xv7an7b05lcw6sphwyy56gsp2fy";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildFlagsArray = ''
|
||||
-ldflags=
|
||||
-X main.Version=${version}
|
||||
'';
|
||||
subPackages = [ "." ];
|
||||
|
||||
buildFlagsArray = [ "-ldflags=-s -w -X github.com/roboll/helmfile/pkg/app/version.Version=${version}" ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/helmfile \
|
||||
|
Loading…
Reference in New Issue
Block a user