cosign: buildFlagsArray -> tags
This commit is contained in:
parent
bdae2bcc6a
commit
925b2e4b8a
1 changed files with 2 additions and 3 deletions
|
@ -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 a new issue