mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 07:48:58 +00:00
caddy2: fix build on darwin
This commit is contained in:
parent
e260f4861c
commit
5480f994e9
|
@ -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";
|
||||
|
|
|
@ -1403,7 +1403,9 @@ in
|
|||
caddy = callPackage ../servers/caddy {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
caddy2 = callPackage ../servers/caddy/v2.nix { };
|
||||
caddy2 = callPackage ../servers/caddy/v2.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
traefik = callPackage ../servers/traefik { };
|
||||
|
||||
calamares = libsForQt5.callPackage ../tools/misc/calamares {
|
||||
|
|
Loading…
Reference in a new issue