silicon: fix darwin build
This commit is contained in:
parent
c6812829db
commit
1f8d964c77
1 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
||||||
, freetype
|
, freetype
|
||||||
, libxcb
|
, libxcb
|
||||||
, python3
|
, python3
|
||||||
|
, libiconv
|
||||||
, AppKit
|
, AppKit
|
||||||
, CoreText
|
, CoreText
|
||||||
, Security
|
, Security
|
||||||
|
@ -29,7 +30,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
buildInputs = [ llvmPackages.libclang expat freetype ]
|
buildInputs = [ llvmPackages.libclang expat freetype ]
|
||||||
++ lib.optionals stdenv.isLinux [ libxcb ]
|
++ lib.optionals stdenv.isLinux [ libxcb ]
|
||||||
++ lib.optionals stdenv.isDarwin [ AppKit CoreText Security ];
|
++ lib.optionals stdenv.isDarwin [ libiconv AppKit CoreText Security ];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ]
|
nativeBuildInputs = [ cmake pkg-config ]
|
||||||
++ lib.optionals stdenv.isLinux [ python3 ];
|
++ lib.optionals stdenv.isLinux [ python3 ];
|
||||||
|
|
Loading…
Reference in a new issue