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