mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
tio: add IOKit to enable custom baudrates on darwin (#289508)
This commit is contained in:
parent
6074e65d28
commit
0142578e3c
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, inih, bash-completion }:
|
||||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, inih, bash-completion, darwin }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tio";
|
||||
@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
buildInputs = [ inih ];
|
||||
buildInputs = [ inih ]
|
||||
++ lib.optionals (stdenv.hostPlatform.isDarwin) [ darwin.apple_sdk.frameworks.IOKit ];
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config bash-completion ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user