shfmt: set ldflags
This commit is contained in:
parent
ed3128fd80
commit
190f3a6c06
@ -14,6 +14,8 @@ buildGoModule rec {
|
|||||||
modSha256 = "080k8d5rp8kyg0x7vjxm758b9ya9z336yd4rcqws7yhqawxiv55z";
|
modSha256 = "080k8d5rp8kyg0x7vjxm758b9ya9z336yd4rcqws7yhqawxiv55z";
|
||||||
subPackages = ["cmd/shfmt"];
|
subPackages = ["cmd/shfmt"];
|
||||||
|
|
||||||
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/mvdan/sh";
|
homepage = "https://github.com/mvdan/sh";
|
||||||
description = "A shell parser and formatter";
|
description = "A shell parser and formatter";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user