exercism: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 04:27:00 -05:00
parent a963023e7b
commit 6f95d105e0
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "exercism";
@ -13,6 +13,8 @@ buildGoModule rec {
modSha256 = "0pg0hxrr6jjd03wbjn5y65x02md3h352mnm1gr6vyiv7hn4ws14m";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
subPackages = [ "./exercism" ];
meta = with stdenv.lib; {

View File

@ -19129,7 +19129,9 @@ in
evilvte = callPackage ../applications/misc/evilvte (config.evilvte or {});
exercism = callPackage ../applications/misc/exercism { };
exercism = callPackage ../applications/misc/exercism {
inherit (darwin.apple_sdk.frameworks) Security;
};
go-motion = callPackage ../development/tools/go-motion { };