hors: fix darwin build

This commit is contained in:
figsoda 2021-09-21 08:01:11 -04:00
parent e80237d8f4
commit 5e94e24b14
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
rustPlatform.buildRustPackage rec {
pname = "hors";
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-1PB/JvgfC6qABI+cIePqtsSlZXPqMGQIay9SCXJkV9o=";
buildInputs = lib.optional stdenv.isDarwin Security;
# requires network access
doCheck = false;

View file

@ -24888,7 +24888,9 @@ with pkgs;
gtk = gtk3;
};
hors = callPackage ../development/tools/hors { };
hors = callPackage ../development/tools/hors {
inherit (darwin.apple_sdk.frameworks) Security;
};
hover = callPackage ../development/tools/hover { };