drone-cli: buildFlagsArray -> ldflags
This commit is contained in:
parent
e69c632fce
commit
380ddb56e5
1 changed files with 3 additions and 3 deletions
|
@ -9,9 +9,9 @@ buildGoModule rec {
|
|||
|
||||
doCheck = false;
|
||||
|
||||
preBuild = ''
|
||||
buildFlagsArray+=("-ldflags" "-X main.version=${version}")
|
||||
'';
|
||||
ldflags = [
|
||||
"-X main.version=${version}"
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "drone";
|
||||
|
|
Loading…
Reference in a new issue