1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00

Merge pull request #144685 from r-burns/anup

anup: fix build on darwin
This commit is contained in:
Thiago Kenji Okada 2021-11-05 22:20:49 -03:00 committed by GitHub
commit 4217614266
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

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