kubeseal: fix build on darwin
This commit is contained in:
parent
8e2dd1164f
commit
3772f50fc6
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kubeseal";
|
||||
@ -13,9 +13,11 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "04dmjyz3vi2l0dfpyy42lkp2fv1vlfkvblrxh1dvb37phrkd5lbd";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
subPackages = [ "cmd/kubeseal" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Kubernetes controller and tool for one-way encrypted Secrets";
|
||||
homepage = "https://github.com/bitnami-labs/sealed-secrets";
|
||||
license = licenses.asl20;
|
||||
|
@ -20302,7 +20302,9 @@ in
|
||||
go = buildPackages.go_1_13;
|
||||
};
|
||||
|
||||
kubeseal = callPackage ../applications/networking/cluster/kubeseal { };
|
||||
kubeseal = callPackage ../applications/networking/cluster/kubeseal {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
kubectl = callPackage ../applications/networking/cluster/kubectl { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user