tio: add IOKit to enable custom baudrates on darwin (#289508)
This commit is contained in:
parent
6074e65d28
commit
0142578e3c
1 changed files with 3 additions and 2 deletions
|
@ -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 a new issue