caddy2: fix build on darwin

This commit is contained in:
Mario Rodas
2020-03-21 04:57:00 -05:00
parent e260f4861c
commit 5480f994e9
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, callPackage, buildGoModule, fetchFromGitHub }:
{ stdenv, callPackage, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "caddy";
@@ -16,6 +16,8 @@ buildGoModule rec {
};
modSha256 = "1sb8w6n84cpya2rjm0zm798kzf5vjpkr5440j1gfnnnr07jl2aqn";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
homepage = "https://caddyserver.com";
description = "Fast, cross-platform HTTP/2 web server with automatic HTTPS";