rio: fix Darwin build and move cmake to Linux nativeBuildInputs

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2023-11-19 11:36:36 -03:00
parent 47f86b92a5
commit efaeb2fdc4

View File

@ -30,7 +30,7 @@
let
rlinkLibs = if stdenv.isDarwin then [
darwin.libobjc
darwin.apple_sdk.frameworks.AppKit
darwin.apple_sdk_11_0.frameworks.AppKit
] else [
(lib.getLib gcc-unwrapped)
fontconfig
@ -62,8 +62,8 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [
ncurses
cmake
] ++ lib.optionals stdenv.isLinux [
cmake
pkg-config
autoPatchelfHook
];