diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:07:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:07:00 -0500 |
commit | cb8f82b8368a2dbd9dfa8bad1ad4f33dae55aebc (patch) | |
tree | c83bd6bdfd523eb11e77188710804361fb945e3e /pkgs/servers/gortr | |
parent | a8c36060b72c9bc5bc87c4102313e77c14b2dd27 (diff) |
gortr: fix build on darwin
Diffstat (limited to 'pkgs/servers/gortr')
-rw-r--r-- | pkgs/servers/gortr/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/servers/gortr/default.nix b/pkgs/servers/gortr/default.nix index 35c6e1452437..3e5dfc87f0ee 100644 --- a/pkgs/servers/gortr/default.nix +++ b/pkgs/servers/gortr/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, buildGoModule }: +{ stdenv, fetchFromGitHub, buildGoModule, Security }: buildGoModule rec { pname = "gortr"; @@ -12,7 +12,9 @@ buildGoModule rec { }; modSha256 = "157dpalfz3z1s3mxq63xy6lrkwzyy9xzmvn7wsxkwznjq4djv1a1"; - meta = with lib; { + buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ]; + + meta = with stdenv.lib; { description = "The RPKI-to-Router server used at Cloudflare"; homepage = "https://github.com/cloudflare/gortr/"; license = licenses.gpl3; |