croc: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 04:34:00 -05:00
parent e00ccb36b8
commit 4a5a07a487
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "croc";
@ -14,6 +14,9 @@ buildGoModule rec {
};
modSha256 = "0d4mm840fjsbcyl98zg6d3i7qp1lmjkx07mh91d56jyf9j082g99";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
subPackages = [ "." ];
meta = with stdenv.lib; {

View File

@ -1434,7 +1434,9 @@ in
cassowary = callPackage ../tools/networking/cassowary { };
croc = callPackage ../tools/networking/croc { };
croc = callPackage ../tools/networking/croc {
inherit (darwin.apple_sdk.frameworks) Security;
};
cddl = callPackage ../development/tools/cddl { };