Merge pull request #138802 from figsoda/fix-hors

hors: fix darwin build
This commit is contained in:
figsoda 2021-09-21 09:14:42 -04:00 committed by GitHub
commit 8bb35f3b3f
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 }:
{ 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

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