mkcert: fix build on darwin
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user