drone-cli: buildFlagsArray -> ldflags

This commit is contained in:
zowoq 2021-08-21 18:23:48 +10:00
parent e69c632fce
commit 380ddb56e5

View file

@ -9,9 +9,9 @@ buildGoModule rec {
doCheck = false;
preBuild = ''
buildFlagsArray+=("-ldflags" "-X main.version=${version}")
'';
ldflags = [
"-X main.version=${version}"
];
src = fetchFromGitHub {
owner = "drone";