mmv-go: buildFlagsArray -> ldflags

This commit is contained in:
zowoq 2021-07-31 23:44:18 +10:00
parent ade459da48
commit a0f4711da4

View file

@ -13,7 +13,7 @@ buildGoModule rec {
vendorSha256 = "0xnrai15ww9lfk02bc9p5ssycwnqkyjj5ch1srh7yvnbw3fakx68";
buildFlagsArray = [ "-ldflags=-s -w -X main.revision=${src.rev}" ];
ldflags = [ "-s" "-w" "-X main.revision=${src.rev}" ];
meta = with lib; {
homepage = "https://github.com/itchyny/mmv";