tickrs: fix build issue for darwin (fatal error: 'Security/Security.h' file not found)
This commit is contained in:
parent
f53e0e28c3
commit
13028f24f4
@ -1,4 +1,4 @@
|
||||
{ lib, rustPlatform, fetchFromGitHub, perl }:
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, perl, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "tickrs";
|
||||
@ -15,6 +15,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Realtime ticker data in your terminal";
|
||||
homepage = "https://github.com/tarkah/tickrs";
|
||||
|
@ -25173,7 +25173,9 @@ in
|
||||
|
||||
ticpp = callPackage ../development/libraries/ticpp { };
|
||||
|
||||
tickrs = callPackage ../applications/misc/tickrs { };
|
||||
tickrs = callPackage ../applications/misc/tickrs {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
tig = callPackage ../applications/version-management/git-and-tools/tig { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user