croc: fix build on darwin
This commit is contained in:
parent
e00ccb36b8
commit
4a5a07a487
|
@ -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; {
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue