hors: fix darwin build
This commit is contained in:
parent
e80237d8f4
commit
5e94e24b14
|
@ -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…
Reference in a new issue