frp: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:03:00 -05:00
parent c8359c42e0
commit b139887056
2 changed files with 7 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ buildGoModule, lib, fetchFromGitHub }:
{ buildGoModule, stdenv, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "frp";
@ -13,9 +13,11 @@ buildGoModule rec {
modSha256 = "1v90w5grc0vjpcp0m56d73zi0qnbswgz1rcvcwrjfa3rwqhigbal";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
subPackages = [ "cmd/frpc" "cmd/frps" ];
meta = with lib; {
meta = with stdenv.lib; {
description = "Fast reverse proxy";
longDescription = ''
frp is a fast reverse proxy to help you expose a local server behind a

View file

@ -10289,7 +10289,9 @@ in
frame = callPackage ../development/libraries/frame { };
frp = callPackage ../tools/networking/frp { };
frp = callPackage ../tools/networking/frp {
inherit (darwin.apple_sdk.frameworks) Security;
};
fsatrace = callPackage ../development/tools/misc/fsatrace { };