hors: fix darwin build

main
figsoda 3 years ago
parent e80237d8f4
commit 5e94e24b14
  1. 4
      pkgs/development/tools/hors/default.nix
  2. 4
      pkgs/top-level/all-packages.nix

@ -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;

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

Loading…
Cancel
Save