mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #138802 from figsoda/fix-hors
hors: fix darwin build
This commit is contained in:
commit
8bb35f3b3f
@ -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;
|
||||
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user