diff --git a/pkgs/applications/misc/anup/default.nix b/pkgs/applications/misc/anup/default.nix index 9c99c84eabee..3eed2a7501c3 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="; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 171e7f110b47..39f5053a412b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };