mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
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 a new issue