mkcert: fix build on darwin
This commit is contained in:
parent
3c1c304c7a
commit
e0757cf88a
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mkcert";
|
||||
@ -19,7 +19,9 @@ buildGoModule rec {
|
||||
-X ${goPackagePath}/main.Version=${version}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/FiloSottile/mkcert;
|
||||
description = "A simple tool for making locally-trusted development certificates";
|
||||
license = licenses.bsd3;
|
||||
|
@ -10582,7 +10582,9 @@ in
|
||||
|
||||
mk = callPackage ../development/tools/build-managers/mk { };
|
||||
|
||||
mkcert = callPackage ../development/tools/misc/mkcert { };
|
||||
mkcert = callPackage ../development/tools/misc/mkcert {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
mkdocs = callPackage ../development/tools/documentation/mkdocs { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user