anup: fix build on darwin

main
Ryan Burns 3 years ago
parent 8aba57cfc9
commit 68a8b278c1
  1. 4
      pkgs/applications/misc/anup/default.nix
  2. 4
      pkgs/top-level/all-packages.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=";

@ -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 { };

Loading…
Cancel
Save