drone: buildFlagsArray -> tags

This commit is contained in:
zowoq 2021-08-08 10:11:16 +10:00
parent 60ca07fadc
commit 7b2efac5ac

View file

@ -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 ];