drone: buildFlagsArray -> tags
This commit is contained in:
parent
60ca07fadc
commit
7b2efac5ac
1 changed files with 1 additions and 3 deletions
|
@ -16,9 +16,7 @@ buildGoModule rec {
|
|||
sha256 = "sha256-MKV5kor+Wm9cuIFFcjSNyCgVKtY+/B9sgBOXMMRvMPI=";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
buildFlagsArray+=( "-tags" "${lib.optionalString (!enableUnfree) "oss nolimit"}" )
|
||||
'';
|
||||
tags = lib.optionals (!enableUnfree) [ "oss" "nolimit" ];
|
||||
|
||||
meta = with lib; {
|
||||
maintainers = with maintainers; [ elohmeier vdemeester ];
|
||||
|
|
Loading…
Reference in a new issue