diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2022-10-17 16:59:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-17 16:59:20 +0200 |
commit | 11ad42216d357f2057cd1858c447ef45ef3e9bcf (patch) | |
tree | b5174777dec6febb712120114026c7e9d1350cdf /pkgs/applications/networking/instant-messengers | |
parent | f5471fc95f3f0f0da035f0b54813d17a859f8cd5 (diff) | |
parent | 7510407930213de4dd34c1def536dc99ba891463 (diff) |
Merge pull request #196426 from viraptor/twitch-tui-darwin
twitch-tui: fix darwin build
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/twitch-tui/default.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/applications/networking/instant-messengers/twitch-tui/default.nix b/pkgs/applications/networking/instant-messengers/twitch-tui/default.nix index ec9df5ec10dd7..1d9febd9a6426 100644 --- a/pkgs/applications/networking/instant-messengers/twitch-tui/default.nix +++ b/pkgs/applications/networking/instant-messengers/twitch-tui/default.nix @@ -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="; |