prow: fix build on darwin
This commit is contained in:
parent
622494d85d
commit
37087c1550
@ -1,4 +1,4 @@
|
|||||||
{ buildGoModule, fetchFromGitHub, lib }:
|
{ buildGoModule, fetchFromGitHub, stdenv, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "prow-unstable";
|
pname = "prow-unstable";
|
||||||
@ -20,6 +20,8 @@ buildGoModule rec {
|
|||||||
|
|
||||||
modSha256 = "06q1zvhm78k64aj475k1xl38h7nk83mysd0bja0wknja048ymgsq";
|
modSha256 = "06q1zvhm78k64aj475k1xl38h7nk83mysd0bja0wknja048ymgsq";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
subPackages = [
|
subPackages = [
|
||||||
"./prow/cmd/admission"
|
"./prow/cmd/admission"
|
||||||
"./prow/cmd/artifact-uploader"
|
"./prow/cmd/artifact-uploader"
|
||||||
@ -54,7 +56,7 @@ buildGoModule rec {
|
|||||||
"./prow/cmd/tot"
|
"./prow/cmd/tot"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Prow is a Kubernetes based CI/CD system";
|
description = "Prow is a Kubernetes based CI/CD system";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Prow is a Kubernetes based CI/CD system. Jobs can be triggered by various
|
Prow is a Kubernetes based CI/CD system. Jobs can be triggered by various
|
||||||
|
@ -25901,6 +25901,7 @@ in
|
|||||||
# Version 2019-08-14 fails to build with go 1.13 due to dependencies:
|
# Version 2019-08-14 fails to build with go 1.13 due to dependencies:
|
||||||
# go: golang.org/x/lint@v0.0.0-20190301231843-5614ed5bae6f used for two different module paths (github.com/golang/lint and golang.org/x/lint)
|
# go: golang.org/x/lint@v0.0.0-20190301231843-5614ed5bae6f used for two different module paths (github.com/golang/lint and golang.org/x/lint)
|
||||||
buildGoModule = buildGo112Module;
|
buildGoModule = buildGo112Module;
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (callPackage ../applications/networking/cluster/terraform {
|
inherit (callPackage ../applications/networking/cluster/terraform {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user