summary refs log tree commit diff
path: root/pkgs/applications/misc/anup
diff options
context:
space:
mode:
authorRyan Burns <rtburns@protonmail.com>2021-11-04 18:21:10 -0700
committerRyan Burns <rtburns@protonmail.com>2021-11-04 18:21:10 -0700
commit68a8b278c16b9359a71faa45d3ba583e20957474 (patch)
tree857e5f60e7e216309bc4dd11246ae3574e8cc2f3 /pkgs/applications/misc/anup
parent8aba57cfc977d2fc4a2a1764aa26d6fc8f279267 (diff)
anup: fix build on darwin
Diffstat (limited to 'pkgs/applications/misc/anup')
-rw-r--r--pkgs/applications/misc/anup/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/misc/anup/default.nix b/pkgs/applications/misc/anup/default.nix
index 9c99c84eabee5..3eed2a7501c3c 100644
--- a/pkgs/applications/misc/anup/default.nix
+++ b/pkgs/applications/misc/anup/default.nix
@@ -1,4 +1,4 @@
-{ lib, rustPlatform, fetchFromGitHub, sqlite, xdg-utils}:
+{ lib, stdenv, rustPlatform, fetchFromGitHub, Security, sqlite, xdg-utils}:
 
 rustPlatform.buildRustPackage rec {
   pname = "anup";
@@ -14,6 +14,8 @@ rustPlatform.buildRustPackage rec {
   buildInputs = [
     sqlite
     xdg-utils
+  ] ++ lib.optionals stdenv.isDarwin [
+    Security
   ];
 
   cargoSha256 = "sha256-1TA2HDHKA3twFtlAWaC2zcRzS8TJwcbBt1OTQ3hC3qM=";