Merge pull request #196426 from viraptor/twitch-tui-darwin

twitch-tui: fix darwin build
This commit is contained in:
Jörg Thalheim 2022-10-17 16:59:20 +02:00 committed by GitHub
commit 11ad42216d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 3 deletions

View File

@ -1,4 +1,11 @@
{ lib, fetchFromGitHub, rustPlatform, pkg-config, openssl }:
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, pkg-config
, openssl
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "twitch-tui";
@ -12,7 +19,7 @@ rustPlatform.buildRustPackage rec {
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
cargoHash = "sha256-zUeI01EyXsuoKzHbpVu3jyA3H2aBk6wMY+GW3h3v8vc=";

View File

@ -5333,7 +5333,9 @@ with pkgs;
keyd = callPackage ../tools/inputmethods/keyd { };
twitch-tui = callPackage ../applications/networking/instant-messengers/twitch-tui { };
twitch-tui = callPackage ../applications/networking/instant-messengers/twitch-tui {
inherit (darwin.apple_sdk.frameworks) Security;
};
gebaar-libinput = callPackage ../tools/inputmethods/gebaar-libinput { stdenv = gcc10StdenvCompat; };