Merge pull request #112340 from daizeng1984/master

tickrs: fix build issue for darwin (fatal error: 'Security/Security.h…

Fixes https://github.com/NixOS/nixpkgs/issues/112338
This commit is contained in:
Mario Rodas
2021-02-08 00:45:58 -05:00
committed by GitHub
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -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";
+3 -1
View File
@@ -25177,7 +25177,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 { };