diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 04:27:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 04:27:00 -0500 |
commit | 6f95d105e04ebc5b5c4972c6d4d8d140ba6ae5c5 (patch) | |
tree | 151747a04085cd6e3730b1915d342a44c91bbe72 /pkgs/applications/misc/exercism | |
parent | a963023e7b13ef06ea15d5be021bfd53f6b41de1 (diff) |
exercism: fix build on darwin
Diffstat (limited to 'pkgs/applications/misc/exercism')
-rw-r--r-- | pkgs/applications/misc/exercism/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/misc/exercism/default.nix b/pkgs/applications/misc/exercism/default.nix index a071761599a31..81c2d9782997d 100644 --- a/pkgs/applications/misc/exercism/default.nix +++ b/pkgs/applications/misc/exercism/default.nix @@ -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; { |