diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:49:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:49:00 -0500 |
commit | b6b516f7cfcdea860e8d09c53c40de5667ecb921 (patch) | |
tree | cbee10994b40ec6e92ca65392e9df3ea6cd5ed4d /pkgs/applications/misc/todoist/default.nix | |
parent | 7d3eb98d6226cf2209691e3e1f45e7c1130e56ef (diff) |
todoist: fix build on darwin
Diffstat (limited to 'pkgs/applications/misc/todoist/default.nix')
-rw-r--r-- | pkgs/applications/misc/todoist/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/applications/misc/todoist/default.nix b/pkgs/applications/misc/todoist/default.nix index 74b2b770215c9..a625c83405588 100644 --- a/pkgs/applications/misc/todoist/default.nix +++ b/pkgs/applications/misc/todoist/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ stdenv, buildGoModule, fetchFromGitHub, Security }: buildGoModule rec { pname = "todoist"; @@ -13,10 +13,12 @@ buildGoModule rec { modSha256 = "1nnp5ijz4n34gc97rar4wlvlbx21ndpjyb2mc6gxdk1wzx3mgswp"; - meta = { + buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ]; + + meta = with stdenv.lib; { homepage = https://github.com/sachaos/todoist; description = "Todoist CLI Client"; - license = lib.licenses.mit; - platforms = lib.platforms.unix; + license = licenses.mit; + platforms = platforms.unix; }; } |