forked from mirrors/nixpkgs
exoscale-cli: update ldflags
This commit is contained in:
parent
276d14f3ea
commit
44850722c8
|
@ -12,7 +12,8 @@ buildGoPackage rec {
|
|||
};
|
||||
|
||||
goPackagePath = "github.com/exoscale/cli";
|
||||
buildFlags = "-ldflags=-X=main.version=${version}";
|
||||
|
||||
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version} -X main.commit=${src.rev}" ];
|
||||
|
||||
# ensures only the cli binary is built and we don't clutter bin/ with submodules
|
||||
subPackages = [ "." ];
|
||||
|
|
Loading…
Reference in a new issue