about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-03-21 04:27:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-03-21 04:27:00 -0500
commit6f95d105e04ebc5b5c4972c6d4d8d140ba6ae5c5 (patch)
tree151747a04085cd6e3730b1915d342a44c91bbe72 /pkgs/applications/misc
parenta963023e7b13ef06ea15d5be021bfd53f6b41de1 (diff)
downloadnixlib-6f95d105e04ebc5b5c4972c6d4d8d140ba6ae5c5.tar
nixlib-6f95d105e04ebc5b5c4972c6d4d8d140ba6ae5c5.tar.gz
nixlib-6f95d105e04ebc5b5c4972c6d4d8d140ba6ae5c5.tar.bz2
nixlib-6f95d105e04ebc5b5c4972c6d4d8d140ba6ae5c5.tar.lz
nixlib-6f95d105e04ebc5b5c4972c6d4d8d140ba6ae5c5.tar.xz
nixlib-6f95d105e04ebc5b5c4972c6d4d8d140ba6ae5c5.tar.zst
nixlib-6f95d105e04ebc5b5c4972c6d4d8d140ba6ae5c5.zip
exercism: fix build on darwin
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/exercism/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/misc/exercism/default.nix b/pkgs/applications/misc/exercism/default.nix
index a071761599a3..81c2d9782997 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; {