Merge pull request #268511 from otavio/fix-darwin-rio

rio: fix Darwin build and move cmake to Linux nativeBuildInputs
This commit is contained in:
Mario Rodas 2023-11-19 12:39:55 -05:00 committed by GitHub
commit d888e30e2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
];