umoci: buildFlagsArray -> ldflags

This commit is contained in:
zowoq 2021-07-31 23:44:18 +10:00
parent 8ff05e0ca2
commit 75d9fd0e95

View File

@ -21,7 +21,7 @@ buildGoModule rec {
doCheck = false;
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
nativeBuildInputs = [ go-md2man installShellFiles ];