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 | |
parent | 7d3eb98d6226cf2209691e3e1f45e7c1130e56ef (diff) | |
download | nixpkgs-b6b516f7cfcdea860e8d09c53c40de5667ecb921.tar nixpkgs-b6b516f7cfcdea860e8d09c53c40de5667ecb921.tar.gz nixpkgs-b6b516f7cfcdea860e8d09c53c40de5667ecb921.tar.bz2 nixpkgs-b6b516f7cfcdea860e8d09c53c40de5667ecb921.tar.lz nixpkgs-b6b516f7cfcdea860e8d09c53c40de5667ecb921.tar.xz nixpkgs-b6b516f7cfcdea860e8d09c53c40de5667ecb921.tar.zst nixpkgs-b6b516f7cfcdea860e8d09c53c40de5667ecb921.zip |
todoist: fix build on darwin
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/misc/todoist/default.nix | 10 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/applications/misc/todoist/default.nix b/pkgs/applications/misc/todoist/default.nix index 74b2b770215..a625c834055 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; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 86bee3c57d5..1f99bdd8f54 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10935,7 +10935,9 @@ in tfsec = callPackage ../development/tools/analysis/tfsec { }; - todoist = callPackage ../applications/misc/todoist { }; + todoist = callPackage ../applications/misc/todoist { + inherit (darwin.apple_sdk.frameworks) Security; + }; todoist-electron = callPackage ../applications/misc/todoist-electron { }; |