mkcert: fix build on darwin

This commit is contained in:
Mario Rodas
2020-03-21 05:46:00 -05:00
parent 3c1c304c7a
commit e0757cf88a
2 changed files with 7 additions and 3 deletions
@@ -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;