mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-01 00:12:39 +03:00
Merge pull request #196426 from viraptor/twitch-tui-darwin
twitch-tui: fix darwin build
This commit is contained in:
commit
11ad42216d
@ -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=";
|
||||
|
||||
|
@ -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; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user