about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-03-21 06:01:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-03-21 06:01:00 -0500
commit37087c1550d7afdfdf37b212ad59dc4481b6fef7 (patch)
treee63ce342288ce24a0268347696743fce9f83c302 /pkgs/applications/networking
parent622494d85d9e309e9e65ff62d5c48221f1e92f59 (diff)
downloadnixlib-37087c1550d7afdfdf37b212ad59dc4481b6fef7.tar
nixlib-37087c1550d7afdfdf37b212ad59dc4481b6fef7.tar.gz
nixlib-37087c1550d7afdfdf37b212ad59dc4481b6fef7.tar.bz2
nixlib-37087c1550d7afdfdf37b212ad59dc4481b6fef7.tar.lz
nixlib-37087c1550d7afdfdf37b212ad59dc4481b6fef7.tar.xz
nixlib-37087c1550d7afdfdf37b212ad59dc4481b6fef7.tar.zst
nixlib-37087c1550d7afdfdf37b212ad59dc4481b6fef7.zip
prow: fix build on darwin
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/cluster/prow/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/networking/cluster/prow/default.nix b/pkgs/applications/networking/cluster/prow/default.nix
index 1c802802c096..e3eb24b23746 100644
--- a/pkgs/applications/networking/cluster/prow/default.nix
+++ b/pkgs/applications/networking/cluster/prow/default.nix
@@ -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