mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
drone: buildFlagsArray -> tags
This commit is contained in:
parent
60ca07fadc
commit
7b2efac5ac
@ -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 New Issue
Block a user