frp: fix build on darwin
This commit is contained in:
parent
c8359c42e0
commit
b139887056
2 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue