anup: fix build on darwin

This commit is contained in:
Ryan Burns 2021-11-04 18:21:10 -07:00
parent 8aba57cfc9
commit 68a8b278c1
2 changed files with 6 additions and 2 deletions

View file

@ -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=";

View file

@ -23752,7 +23752,9 @@ with pkgs;
antiword = callPackage ../applications/office/antiword {};
anup = callPackage ../applications/misc/anup {};
anup = callPackage ../applications/misc/anup {
inherit (darwin.apple_sdk.frameworks) Security;
};
anytype = callPackage ../applications/misc/anytype { };