cosign: buildFlagsArray -> tags
This commit is contained in:
parent
bdae2bcc6a
commit
925b2e4b8a
@ -21,9 +21,8 @@ buildGoModule rec {
|
||||
|
||||
excludedPackages = "\\(copasetic\\)";
|
||||
|
||||
preBuild = ''
|
||||
buildFlagsArray+=(${lib.optionalString pivKeySupport "-tags=pivkey"})
|
||||
'';
|
||||
tags = lib.optionals pivKeySupport [ "pivkey" ];
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/sigstore/cosign/cmd/cosign/cli.gitVersion=v${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user