1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

prow: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 06:01:00 -05:00
parent 622494d85d
commit 37087c1550
2 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ buildGoModule, fetchFromGitHub, lib }:
{ buildGoModule, fetchFromGitHub, stdenv, Security }:
buildGoModule rec {
pname = "prow-unstable";
@ -20,6 +20,8 @@ buildGoModule rec {
modSha256 = "06q1zvhm78k64aj475k1xl38h7nk83mysd0bja0wknja048ymgsq";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
subPackages = [
"./prow/cmd/admission"
"./prow/cmd/artifact-uploader"
@ -54,7 +56,7 @@ buildGoModule rec {
"./prow/cmd/tot"
];
meta = with lib; {
meta = with stdenv.lib; {
description = "Prow is a Kubernetes based CI/CD system";
longDescription = ''
Prow is a Kubernetes based CI/CD system. Jobs can be triggered by various

View file

@ -25901,6 +25901,7 @@ in
# 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)
buildGoModule = buildGo112Module;
inherit (darwin.apple_sdk.frameworks) Security;
};
inherit (callPackage ../applications/networking/cluster/terraform {