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 {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "tickrs";
|
pname = "tickrs";
|
||||||
@ -15,6 +15,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ perl ];
|
nativeBuildInputs = [ perl ];
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Realtime ticker data in your terminal";
|
description = "Realtime ticker data in your terminal";
|
||||||
homepage = "https://github.com/tarkah/tickrs";
|
homepage = "https://github.com/tarkah/tickrs";
|
||||||
|
@ -25173,7 +25173,9 @@ in
|
|||||||
|
|
||||||
ticpp = callPackage ../development/libraries/ticpp { };
|
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 { };
|
tig = callPackage ../applications/version-management/git-and-tools/tig { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user