Merge pull request #144685 from r-burns/anup

anup: fix build on darwin

authored by Thiago Kenji Okada and committed by GitHub 42176142 ea8596e4

+6 -2
+3 -1
pkgs/applications/misc/anup/default.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub, sqlite, xdg-utils}: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "anup"; ··· 14 buildInputs = [ 15 sqlite 16 xdg-utils 17 ]; 18 19 cargoSha256 = "sha256-1TA2HDHKA3twFtlAWaC2zcRzS8TJwcbBt1OTQ3hC3qM=";
··· 1 + { lib, stdenv, rustPlatform, fetchFromGitHub, Security, sqlite, xdg-utils}: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "anup"; ··· 14 buildInputs = [ 15 sqlite 16 xdg-utils 17 + ] ++ lib.optionals stdenv.isDarwin [ 18 + Security 19 ]; 20 21 cargoSha256 = "sha256-1TA2HDHKA3twFtlAWaC2zcRzS8TJwcbBt1OTQ3hC3qM=";
+3 -1
pkgs/top-level/all-packages.nix
··· 23759 23760 antiword = callPackage ../applications/office/antiword {}; 23761 23762 - anup = callPackage ../applications/misc/anup {}; 23763 23764 anytype = callPackage ../applications/misc/anytype { }; 23765
··· 23759 23760 antiword = callPackage ../applications/office/antiword {}; 23761 23762 + anup = callPackage ../applications/misc/anup { 23763 + inherit (darwin.apple_sdk.frameworks) Security; 23764 + }; 23765 23766 anytype = callPackage ../applications/misc/anytype { }; 23767